summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* 10l, avoid crash on invalid subtitle idreimar2007-02-241-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22333 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixes, usefuLL --> useful and aswell --> as welldiego2007-02-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.diego2007-02-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
* insert extradata in sh_video->bih+1 instead of pushing it to demuxer->video ↵nicodvb2007-02-201-6/+19
| | | | | | as separate packet; patch by C.E.Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22296 b3059339-0415-0410-9bf9-f77b7e298cf2
* make message translatableivo2007-02-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22292 b3059339-0415-0410-9bf9-f77b7e298cf2
* more cosmeticsivo2007-02-201-30/+41
| | | | | | | | | | remove overlooked trailing whitespace cut overly long lines (>79 characters) file passes checktree.sh -all -norcsid <file> now git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22290 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper GPL headingivo2007-02-201-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22289 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmeticsivo2007-02-201-233/+233
| | | | | | | | | replace mixed tabs and 2, 4 and 8 spaces indentation remove trailing whitespace git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22288 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper authors of xmms demuxerivo2007-02-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22285 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont set 0 nBlockAlignmichael2007-02-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22284 b3059339-0415-0410-9bf9-f77b7e298cf2
* probe ~/.xmms/Plugins for plugins too, so users without root access on theirivo2007-02-201-6/+19
| | | | | | | | | | | | machine can install them in their homedir and, if necessary, override system wide defaults. patch by Nicolas George, nicolas george at ens fr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22283 b3059339-0415-0410-9bf9-f77b7e298cf2
* all options must be GLOBAL; patch by Trent Piepho (xyzzy speakeasy org)nicodvb2007-02-181-21/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22261 b3059339-0415-0410-9bf9-f77b7e298cf2
* omit length field of AAC-LATM audio streams; fixes decoding by faad. Patch ↵nicodvb2007-02-171-0/+2
| | | | | | by Carl Eugen Hoyos (cehoyos ag or at) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22253 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmeticsnicodvb2007-02-171-31/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't segfault if no -format is given for lavfuau2007-02-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22238 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for H263-2000; patch by Carl Eugen Hoyosnicodvb2007-02-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22229 b3059339-0415-0410-9bf9-f77b7e298cf2
* English grammar fix: There is no 's' after "does not exist"reimar2007-02-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22219 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l copy-and-paste bug. Do not print video info when the problem is with ↵reimar2007-02-141-1/+1
| | | | | | subtitles git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print list of lavf muxer formats with format=help.reimar2007-02-141-2/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22216 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert libnut option names, the issue is fixed in FFmpeg.diego2007-02-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22208 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed ages-old and insane #if0-ed and commented codenicodvb2007-02-101-77/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22191 b3059339-0415-0410-9bf9-f77b7e298cf2
* substream id 0x98..0x9f identifies dtsnicodvb2007-02-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22188 b3059339-0415-0410-9bf9-f77b7e298cf2
* when seeking in h264 sync to idr framesnicodvb2007-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22183 b3059339-0415-0410-9bf9-f77b7e298cf2
* when playing vc1 content sync to sequence or entry point headernicodvb2007-02-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22181 b3059339-0415-0410-9bf9-f77b7e298cf2
* vc1 in mpegtsnicodvb2007-02-092-4/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22180 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure sub->sh is set when a subtitle is selectedreimar2007-02-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22175 b3059339-0415-0410-9bf9-f77b7e298cf2
* when seeking and the codec is VC1 sync to sequence or entry point headersnicodvb2007-02-071-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22173 b3059339-0415-0410-9bf9-f77b7e298cf2
* when the video codec is mpeg4video copy the content of the esds in ↵nicodvb2007-02-071-1/+4
| | | | | | extradata; patch by ceyes ag or at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22172 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix libnut build failure.gpoirier2007-02-071-1/+1
| | | | | | | | Use CONFIG_LIBNUT like ffmpeg's configure, instead of LIBNUT. Patch by Clemens Ladisch % cladisch A fastmail P net % git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support selecting a specific lavf demuxer and listing available ones via ↵reimar2007-02-061-0/+22
| | | | | | -lavfdopts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support some weird AVI header, fixes bug 742reimar2007-02-061-0/+3
| | | | | | | (http://samples.mplayerhq.hu/avi/samsung_crap_bug742.avi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a few gcc warnings, approved by Diego and Reimar.rathann2007-02-052-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another round of subtitle code cleanupreimar2007-02-052-54/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22155 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set sub_utf8 for mov subs.reimar2007-02-051-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22152 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for SVQ3 in X-QT; patch by Carl Eugen Hoyos (cehoyos ag or at) ↵nicodvb2007-02-041-2/+3
| | | | | | approved by Ross git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not read beyond end of data chunk if chunk_size is set.reimar2007-02-041-1/+6
| | | | | | | Sample: http://samples.mplayerhq.hu/A-codecs/wavpcm/ahh.wav git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22121 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_mpg_probe() seek to the initial position before returning - patch by ↵nicodvb2007-02-031-0/+2
| | | | | | reimar git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22112 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variablesnicodvb2007-02-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22106 b3059339-0415-0410-9bf9-f77b7e298cf2
* mf demuxer only works with mf:// urls, so check for that.reimar2007-02-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make mkv demuxer use ffmpeg LZO as well.reimar2007-01-311-17/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22099 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support 16bit bigendian PCM audio from libavformatreimar2007-01-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22076 b3059339-0415-0410-9bf9-f77b7e298cf2
* reduced verbositynicodvb2007-01-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22068 b3059339-0415-0410-9bf9-f77b7e298cf2
* 5l, check that the codec type detected by ts_detect_streams() is actually ↵nicodvb2007-01-291-1/+1
| | | | | | audio before fixing it in the array git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22067 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix audio type when ts_detect_streams detects that a private1 stream is ↵nicodvb2007-01-291-0/+3
| | | | | | actually ac3 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22066 b3059339-0415-0410-9bf9-f77b7e298cf2
* sanity checks during codec detection; also reset demuxer->stream->eofnicodvb2007-01-281-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22059 b3059339-0415-0410-9bf9-f77b7e298cf2
* added code to scan the video stream to search the actual video codec used;nicodvb2007-01-281-0/+30
| | | | | | | | | | triggered only if requested by the user with option -psprobe. Evo files require this option because H264 is stored like MPEG2 without using the PSM git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22055 b3059339-0415-0410-9bf9-f77b7e298cf2
* include math.h for fabsf()nicodvb2007-01-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22054 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: reindentation and braces removalnicodvb2007-01-281-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22053 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved scoreboarding code to 2 separate functions (update_stats() and ↵nicodvb2007-01-281-28/+41
| | | | | | clear_stats()) to be reused next git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22052 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix number of rows in interlaced mode.reimar2007-01-281-7/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22042 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, confused current "frame" with canvas width.reimar2007-01-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22040 b3059339-0415-0410-9bf9-f77b7e298cf2
* set has_valid_timestamps and corresponding first and final pts only afternicodvb2007-01-281-46/+122
| | | | | | | | | | | | | | having checked that at the beginning, at the middle and at the end of the stream timestamps don't reset and that they seem to progress (almost-) linearly; additionally probe those timestamps only when the stream type is file and it's seekable, so all other stream types (especially network ones) won't waste time trying to seek and possibly slowing down detection. Seeking is not negatively affected by these changes. Patch by Christian Aistleitner (zaek7q gmx net) reworked by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack: use refmode == 1 instead of == 0, as browsers behave like thisreimar2007-01-281-0/+7
| | | | | | | | and buggy files like http://samples.mplayerhq.hu/GIF/broken-gif/CLAIRE.GIF rely on this. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22038 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set sh_video->bih->biWidth properly, fixes decoding after latest dec_video.c ↵reimar2007-01-281-5/+2
| | | | | | change git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Call real_fix_timestamp() after seeking, to avoid video freezing rtogni2007-01-271-3/+13
| | | | | | | | because of wrong timestamps. Fixes seek_sample2.rmvb and others. Patch by LR ))) hephooey ))(( gmail )( com ((( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22036 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and make lzo decompression code more similar to zlib one.reimar2007-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22029 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten free on errorreimar2007-01-271-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22028 b3059339-0415-0410-9bf9-f77b7e298cf2
* *dest = malloc (*size); is useless directly before *dest = realloc (*dest, ↵reimar2007-01-271-1/+1
| | | | | | *size); git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22026 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove comment printed by -demuxer help, it belongs in the copyright header.diego2007-01-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22015 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ff_gcd prototype and include avutil.h instead where it is defined.reimar2007-01-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use interleaver id to select the correct interleaver instead of guessing rtogni2007-01-241-23/+21
| | | | | | | it from the codec id. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22007 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use interleaver id to select the correct interleaver instead of guessing rtogni2007-01-241-8/+7
| | | | | | | | it from the codec id. Fixes gittin_13.ra git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22005 b3059339-0415-0410-9bf9-f77b7e298cf2
* better autodetection of framerate in case of h264; it works correctly with ↵nicodvb2007-01-231-2/+8
| | | | | | | | | b-frames. Patch by Eugen Hoyos (cehoyos ag or at) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22001 b3059339-0415-0410-9bf9-f77b7e298cf2
* substream 0x75 doesn't seem to be a valid vc1 stream, after all; removednicodvb2007-01-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21997 b3059339-0415-0410-9bf9-f77b7e298cf2
* set priv->last_pts to the pts read only if the pts was really read; patch by ↵nicodvb2007-01-221-1/+6
| | | | | | zaek7q gmx net (Christian Aistleitner) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Discard -Wdeclaration-after-statement warning.diego2007-01-211-1/+1
| | | | | | | patch by Carl Eugen Hoyos, cehoyos ag.or at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21992 b3059339-0415-0410-9bf9-f77b7e298cf2
* Instead of printing a useless "sig11 coming soon" message, just abort parsingreimar2007-01-211-1/+4
| | | | | | | | in the hope of still saving things (helps with at least http://sam.zoy.org/zzuf/lol-mplayer.wmv). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21986 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sanity-check sh_video->bih->biSizereimar2007-01-212-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify by using av_codec_get_id and include riff.h only in demux_lavf.creimar2007-01-212-14/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21984 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten CodecTag -> AVCodecTagreimar2007-01-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after lavf changesreimar2007-01-212-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21979 b3059339-0415-0410-9bf9-f77b7e298cf2
* support -ffourcc with -of lavfreimar2007-01-212-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21978 b3059339-0415-0410-9bf9-f77b7e298cf2
* in h264_parse_sps() reuse mp_unescape03()nicodvb2007-01-201-27/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21971 b3059339-0415-0410-9bf9-f77b7e298cf2
* vc1 probing code: if sh_video->bih can't be callocated exitnicodvb2007-01-201-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21970 b3059339-0415-0410-9bf9-f77b7e298cf2
* in vc1 probing code, all packets before the first sequence header must be ↵nicodvb2007-01-201-1/+1
| | | | | | skipped, not read git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21969 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variables; replaced wrong call to realloc() with calloc() in ↵nicodvb2007-01-201-3/+1
| | | | | | vc1 probing code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21968 b3059339-0415-0410-9bf9-f77b7e298cf2
* decode vc1 sequence header and frame it in video_read_frame();nicodvb2007-01-201-0/+73
| | | | | | | | it doesn't work yet, but it permits debugging and development to Kostya git-svn-id: svn://svn.mplayerh