Commit Graph

1635 Commits

Author SHA1 Message Date
rtognimp bf7ea6175a 100l: fix avi demuxing for ni and nini cases, allow forcing ni and nini
demuxers


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16212 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-13 12:20:07 +00:00
michael 0589ba3055 video fourcc fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16201 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 20:54:09 +00:00
ods15 bfae13d1db demux_avi_control() missing in avi's demuxer struct.
patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 17:23:45 +00:00
ods15 d59f67f879 fix brokeness caused by demuxer patch, this code is useless for
any case other than avi and should not be run even then.
patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 17:01:13 +00:00
rfelker 5c416790ce reconcile with earlier fps fix in mpeg header parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16193 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 01:42:06 +00:00
faust3 94ea9449cc take into account that VIDIOC_S_FMT might return updated parameters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16187 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 19:45:55 +00:00
faust3 40e196f4a6 do not crash when /dev/video0 is not present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16186 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 18:19:58 +00:00
rfelker a6e05bcdbb 100l to whoever wrote this crap using 1/10000 units. it caused framerates to get trashed from 30000/1001 to 2997/100, etc.!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16185 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 16:15:07 +00:00
rtognimp cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
al bd342e463a Support new static libavcodec (depends on libavutil).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16166 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 20:16:56 +00:00
reimar 2d14fdcb3a Support more MythTV nuv files, based on Gentoo portage patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16165 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:52:20 +00:00
reimar 1da3dc91bd set i_bps in demux_audio for WAV and MP3 to avoid division by zero before
decoder sets it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:36:50 +00:00
iive 84ec577508 remove unused cache-prefill and create cache-seek-min that controls when seek_long is prefered over waiting for cache to fill
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16153 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-31 00:26:07 +00:00
reimar c95fe61fd8 10l, incorrect usage of le2me_*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16150 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-29 15:52:06 +00:00
reimar a426499a97 Hopefully finally fix the last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16136 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 14:14:13 +00:00
reimar 70c9aca23b lavf demuxer with raw PCM fix (and a related hang)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16135 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 13:43:24 +00:00
alex 28d434a068 no sense anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16127 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 12:05:06 +00:00
reimar bc7eccf0f1 strncasecmp is not necessary and e.g. strncasecmp(prot, "mms", 3) will
also match e.g. mmshttp!
Thanks to Ian Remmler for noticing.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16113 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 18:55:20 +00:00
diego ea34730820 Use a more stable URL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16094 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 00:01:44 +00:00
reimar e23ff6c88c Some ICY servers (e.g. http://broadcast.spnet.net:8000/darikhigh) do not set
the protocol correctly, so look for icy-metaint in the response instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16079 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-24 12:22:30 +00:00
reimar 1283da1d04 Allow the ffmpeg people to use this code if they want.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16075 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 18:07:08 +00:00
reimar 51a7a44449 Multiple unsv/scast bug fixes.
* use recv instead of read for MinGW compatibility
* detect EOF more reliably
* use ultravox only for unsv:// instead of trying autodetection


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16071 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 15:29:51 +00:00
reimar 53b7a40591 Forgotten doxygen comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16033 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-20 17:14:45 +00:00
reimar ee105bbcb3 Ultravox improvements according to specs (didn't know they existed *g*)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16032 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-20 17:12:33 +00:00
reimar c0a4d94468 SHOUTcast and ultravox support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16014 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 12:07:04 +00:00
michael 57b7f68b80 LIBAVFORMAT_BUILD >= 4629
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16002 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-18 00:10:09 +00:00
michael 096500035d LIBAVFORMAT_BUILD >= 4629
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16001 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 23:54:48 +00:00
reimar 760e0b6014 support 10000/1001 framerate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15992 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 16:02:49 +00:00
aurel e712dd1854 fix a crash at v4l2 uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15988 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 00:41:29 +00:00
reimar 2d7dbaa10f (hopefully) fixing remaining float endianness problems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15977 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-13 17:24:42 +00:00
mosu 3987f2d260 Fix for gcc 4 and strict-aliasing. Patch by Uoti A Urpala ( urpala () cc ! helsinki ! fi ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15960 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 18:31:13 +00:00
reimar c54b5a06bd musepack demuxing and decoding support (demuxing is v7 bitstream only).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15959 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 17:14:12 +00:00
rathann c18da34beb small warning fix:
function doesn't return anything and the return value is never checked or used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15955 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 14:09:45 +00:00
reimar 628236e0c0 Add missing range/length check for video trak desc (fixes bug #335).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15950 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 09:05:14 +00:00
reimar e795c4b11b cosmetic: split the lschunks function in two.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15949 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 08:57:31 +00:00
nicodvb 57f50fad9e added support for vbr audio (frames are parsed individually); fixed small bugs in the management of pes_extension
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15948 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 08:36:39 +00:00
ranma 38d2e2afc8 -identify variable names should follow [A-Z_][A-Z0-9_]* convention
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15939 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-07 17:35:05 +00:00
rtognimp 9f60836046 Revert fix v1.3, it breaks streams with cook audio (ex.
rtsp://mm4.rai.it/raitre/blob/ultimo/blob.rm)
Applied a different fix for the first buf[k] (ensure buf size is k+4)
The second buf[k] is safe, buf is at least 32 when the code is called


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15933 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-06 21:37:38 +00:00
rtognimp a27f05a6ea Do some sanity checks before writing stream information
Patch by Sergio Gelato >Sergio dot Gelato at astro dot su dot se<
and some additions by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15931 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-06 19:20:16 +00:00
nicodvb 047325d99f don't read past the end of the selected track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15913 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 15:20:14 +00:00
alex b53b875ddd consistency/tcc support patch by Oded Shimon
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15906 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 12:49:23 +00:00
faust3 226ac28fff demux close gets called automatically
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15821 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:52:49 +00:00
faust3 47eb55b654 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15820 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:32:09 +00:00
faust3 cd3bc31f2c 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15819 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:21:27 +00:00
faust3 1b7f873c9c 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15818 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:15:38 +00:00
nicodvb 999ac17eba support raw ac3 (in private pes packets without the usual dvd 4 bytes substream header). Patch by Matthias Scharzott
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15816 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-25 13:25:27 +00:00
reimar d8d2b12059 fix seeking over http for files larger 2 GB
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15813 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 11:01:00 +00:00
reimar b3946c3bb1 fix illegal memory accesses
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15798 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-22 11:58:56 +00:00
reimar d7c31709b3 M$ puts whole FAQs in these headers, so they can get really big...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15796 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 19:56:47 +00:00
henry 47f8854d58 messed up ordering of cases, special delivery of Cola to Tobias
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15795 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 18:54:50 +00:00