Commit Graph

170 Commits

Author SHA1 Message Date
pl 0d08e5f435 warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3734 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 16:38:07 +00:00
pl cc4d2ccbd1 possible uninit pointer free()'d
possible bad pointer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 16:35:57 +00:00
pl 098f67e00d warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3730 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:49:19 +00:00
pl c969b3efb9 As nobody fixed this yet:
"tv.c: In function stream_open_tv':
tv.c:107: warning: return' with no value, in function returning non-void"

According to libmpdemux/open.c 0 is an error so I guess it should return 0 if
it fails :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3729 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:45:04 +00:00
pl a1e6e85834 As nobody fixed this yet:
"asf_streaming.c: In function asf_http_request':
 asf_streaming.c:414: warning: too few arguments for format
 asf_streaming.c:431: warning: too few arguments for format"


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3728 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:40:10 +00:00
pl 5eef65aa85 missing #include's
Note: stream.h contains static inline functions, which is not quite clean :/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3727 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:20:58 +00:00
melanson 6840dd9a95 Somewhere along the line, someone updated a field in an ASF structure
from 'unk1' to 'preroll'. There is a macro that is only needed on big
endian systems that didn't get updated to reflect that change.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3720 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 20:38:49 +00:00
nexus 2f4c1fb851 FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3717 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 16:24:35 +00:00
alex ffde90d47e fixed video syncing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3712 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 13:56:43 +00:00
alex cd6136dfeb i420 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3704 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 11:01:16 +00:00
pl 8ee5b68534 memset is more portable than bzero ("BSD"ism)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3701 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 10:35:43 +00:00
arpi 7bbe389f7e RTP support patch by Brian Kuschak <bkuschak@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3687 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 22:09:02 +00:00
atmos4 197062715e Add aspect 6, anamorphic 16:9 for svcd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3667 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 01:34:49 +00:00
alex 6f76545a73 added co64 (64bit chunk offset table) chunk (needed for mov files created with xawtv) and added depth detection in video track (tested with my *.mov files (about 15-20) and worked fine)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3653 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 00:33:35 +00:00
arpi 2741174c2c void* context added - it should keep the codec-specific stuff (struct ptr or HANDLE)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3643 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-21 16:17:24 +00:00
pl e0c43586ae x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)

Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 13:03:22 +00:00
pl d8925752b8 checkings for malloc results (potential memleaks)
btw: C functions in .h files is dirty :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3612 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 12:54:06 +00:00
bertrand adb50da1d7 If the demuxer type is unknown it will start an http streaming.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3605 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 09:04:03 +00:00
bertrand 0545d44d07 Removed unnecessary check after the protocol autodetection.
Now it will try to start streaming even if the autodetection failed.
This will allow to work with web server that doesn't report a
proper mime-type.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3604 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 09:02:52 +00:00
arpi 365248938e pre-cache fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3601 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 02:16:43 +00:00
arpi fbd38db24f nop_steraming fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3600 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 01:59:25 +00:00
bertrand 2f6396e310 Added the Host field in the HTTP request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3586 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 18:45:00 +00:00
arpi 3db7b73bd9 initial precaching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3563 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 16:55:40 +00:00
atmos4 8b2f0c064d Divide by Zero fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3562 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 16:51:34 +00:00
bertrand 64f97cd0a1 Fixed the multiple ASF header stream chunk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3552 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 01:58:24 +00:00
arpi f5247261c2 fli seeking implemented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3545 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 00:24:03 +00:00
arpi c8edb9e918 reset ds eof flags at seeking - requires for mpeg -loop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3543 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 00:03:50 +00:00
bertrand d5772744df Removed functions prototypes for streaming that don't need to be here.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3536 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 21:41:43 +00:00
bertrand 4217f14cf7 Applied the patch from Alban Bedel <albeu@free.fr>.
Changed the header parser to handle the ASF header in
multiple network chunk.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3534 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 21:23:36 +00:00
arpi f0a8c2a8a3 vivo A-V sync fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3527 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 14:51:04 +00:00
bertrand 8650dedbe6 Changed an unknown file to preroll.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3516 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 07:54:35 +00:00
bertrand 8b26a9a6c9 Handle broken server that doesn't send CRLF but jusr LF.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3515 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 07:40:52 +00:00
alex 149f8a1265 -vivo version option added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3504 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-15 16:49:45 +00:00
alex 1fc41f6a2b added -vivo subconfig
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3503 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-15 16:44:54 +00:00
gabucino c1099888ad fixed sig8 while -idx on some files (actually this is a workaround) :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3499 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 23:56:12 +00:00
bertrand ea70f366b1 Made the HTTP request escaped the url.
This now allow for example the spaces in the URL.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3498 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 23:50:57 +00:00
bertrand 24c6f11c8b Added 2 functions to escape/unescape the url as described in the RFC 2396.
Code borrowed from ASFRecorder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3497 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 23:48:47 +00:00
bertrand 3ea29912ef Applied the patch from Alban Bedel <albeu@free.fr>.
He added some errors checking on network code.
Added a check on the port number parsing in the url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3495 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 20:45:30 +00:00
bertrand da9b539467 Applied the patch from Alban Bedel <albeu@free.fr> to
make the asf network streaming work for some links.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3476 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-12 22:35:51 +00:00
alex b56bd49b6e hacked audio support to work with acm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3472 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-12 18:24:21 +00:00
bertrand 6ca596f928 Added a switch for the ASF streaming protocol. It will first try ASF/UDP,
then ASF/TCP and then ASF/HTTP.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3455 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 01:07:40 +00:00
bertrand dbfbbbae3d Added a data field in the streaming_ctrl_t struct, to store any
kind of data that the protocol need to keep track of.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3454 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 01:06:08 +00:00
alex b1a8f43317 fixed Waveformatheader emu and added vivo1/2 audio detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3440 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 17:48:09 +00:00
bertrand ebe32fd8c6 Added the connect2Server prototype.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3429 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 01:39:25 +00:00
bertrand 30c0c10a2d Moved the network related include files from network.c to network.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3425 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 01:34:08 +00:00
alex c575cad1ec 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3412 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 19:11:42 +00:00
melanson 7880c0fd35 committed corrected speed calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3402 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 16:21:32 +00:00
alex f5b7d3df3d give the IMGFMT_ for sh_video->format not 0x0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3399 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 15:39:35 +00:00
atmos4 51cbca7f78 Add aspect 4 to known aspect codes, probably SECAM 4:3, at least sample file was 4:3.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3380 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-08 03:21:59 +00:00
alex 6c53dbdd85 default size 320x200
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3376 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-08 01:22:03 +00:00