1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
rtognimp
27090defde Use define instead of hardcodec value for max streams number
Pathc by Dominik 'Rathann' Mierzejewski


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 13:42:50 +00:00
rtognimp
c935ff23d7 Fix potential buffer overflow for urls with more than 20 streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15174 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:31:57 +00:00
rtognimp
7b1bd09dbc Make string_utf16 code behave almost the same with or without iconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15151 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 19:21:05 +00:00
reimar
6e450282a6 remove all setlocale calls, they break the behaviour of sscanf and
strcasecmp, especially with tr_TR locale - and do not seem to be good for
anything.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-20 13:22:53 +00:00
reimar
343d83d5a6 fix a problem pointed out by iDEFENSE and several similar ones.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14164 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-15 19:12:46 +00:00
diego
56a0a395f4 typo noticed by Shixin Zeng <shixinzeng at sjtu dot edu dot cn>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13601 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 13:00:56 +00:00
rtognimp
0ec2337e13 Use port number embedded in url for mms streams
Patch by Bertrand Baudet


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12969 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-07 23:48:35 +00:00
rtognimp
21f0a7aeb8 WMP doesn't encode urls with mmst protocol
Patch by Ilia ( chest4l at mail dot ru )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12752 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-02 20:36:50 +00:00
alex
df02e80073 disable iconv in case setlocale is disabled - compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12676 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 09:55:17 +00:00
alex
e69fef945b user nl_langinfo if langinfo support present for proper chinese support, feature requested by Shixin Zheng <shixinzheng@sjtu.edu.cn>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12675 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 09:54:02 +00:00
rtognimp
54de722443 Fix hang on broken mmst streams
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12546 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-07 19:23:04 +00:00
alex
1b4b8c31d0 make gcc eating this under hurd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12122 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-05 21:31:27 +00:00
rtognimp
e294c7134c Fix hanging at end of mms:// streams.
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12078 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-28 14:44:49 +00:00
rathann
e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
alex
1270b6dab0 fallback to non-iconv dummy utf16 conversion if iconv failed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11404 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-06 22:34:20 +00:00
alex
34fd8afb8a remove uncommon langinfo code and replace it by more common setlocal. patch by Steven M. Schultz <sms@2BSD.COM>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11403 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-06 22:28:55 +00:00
attila
28f5233b36 Current mplayer (mine is mplayer-1.0-pre1cvs20031001) cannot play mms
stream with multibyte characters in the url.

  There is a bug in string_utf16() of libmpdemux/asf_mmst_streaming.c:
  the url encoding code is written for single-byte character only. It
  just fill a zero byte between every two adjacent bytes of the url
  string. This is wrong when the url string contains multi-byte
  characters.

  My patch is in the attachment, and has been tested working. It uses
  iconv() to convert the url's encoding to utf-16 correctly. So can this
  patch be accepted and commit into CVS?

patch by Wang WenRui <wangwr@mail.ustc.edu.cn>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11351 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 14:43:28 +00:00
alex
7c91720081 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11227 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:30:13 +00:00
alex
3a177a1741 Fixing tons of 10ls. Patch by rgselk <rgselknospam@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11226 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:26:15 +00:00
albeu
755e127c26 ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 19:13:23 +00:00
diego
6ac4f22567 Networking support under MinGW.
Patch by flo/yepyep <flodt8@yahoo.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-11 16:48:09 +00:00
alex
85cbbc3530 Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-29 19:36:58 +00:00
alex
dae251c597 10l found by yepyep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10184 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-25 18:28:26 +00:00
arpi
39aca46a2f debug printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7978 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 14:10:36 +00:00
bertrand
4dc9465cb8 GCC warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 09:18:53 +00:00
arpi
e6ebe2824e - fixed several 10l bugs
- using get_media_packet impl. from mmsclient 0.0.3
- buffering code simplified/fixed


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7881 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 20:39:49 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
bertrand
488c6ad710 Fixed an unknown command. Looks like it's a new command from WMS9.
Changed all the exit by return -1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7310 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 20:37:09 +00:00
bertrand
c5cc04f2c8 Checked if the connection succeeded before writing in the socket.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7251 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:25:31 +00:00
bertrand
c7d9ebdcb2 Added support for asf mmst protocol.
Implementation taken from the xine-mms plugin made by majormms
Modified to work with mplayer by Abhijeet Phatak <abhijeetphatak@yahoo.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6093 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-14 22:31:21 +00:00