summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* add fourcc for dxa files, approved by diegocompn2007-03-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22708 b3059339-0415-0410-9bf9-f77b7e298cf2
* Matroska seeking fixesuau2007-03-161-12/+22
| | | | | | | | | | | | | | | | | If a relative seek forward went past the last index position the Matroska demuxer did not seek to any index position. It did however set the mkv_d->skip_to_timecode variable which meant that the next fill_buffer() call would read from the current position until the target position (probably the end of the file). Fix this by changing the code to seek to the last index position if that is between the current and target positions. Also change backwards relative seek to accept an exactly matching index position (<= vs <) and reorganize the seeking conditionals to allow making the above change without turning the code into a complete mess. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22634 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use explicit path for headers from the loader/ directory.diego2007-03-153-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.diego2007-03-1555-56/+56
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add live555 include flags to CXXFLAGS only.diego2007-03-151-1/+1
| | | | | | | patch by Carl Eugen Hoyos, cehoyos ag.or at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for eof in loop searching for data chunk.reimar2007-03-151-1/+1
| | | | | | | Fixes bug #775. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22604 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix indentation, reorder some lines for consistency.diego2007-03-131-46/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give more descriptive names to the source and library variables and splitdiego2007-03-131-18/+16
| | | | | | | between common, MPlayer-specific and MEncoder-specific parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: renamed variable amr as headersize, more meaningful; patch by ↵nicodvb2007-03-121-4/+4
| | | | | | Carl Eugen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22537 b3059339-0415-0410-9bf9-f77b7e298cf2
* Source files should not contain non-ASCII characters.diego2007-03-122-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the sh_audio->delay field to mpctx->delay.uau2007-03-112-2/+0
| | | | | | | | The value is related to overall a/v sync and is not used by audio demuxers or decoders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22506 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove some lines which should have never been in demux_nut.c, broke CPU ods152007-03-091-3/+0
| | | | | | | percentage meter for audio only files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix audio samplerates below 7000 Hz.uau2007-03-071-1/+1
| | | | | | | Patch from John Koleszar, jkoleszar on2 com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22482 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for AMR; it works inserting in the first byte of the demux_packetnicodvb2007-03-062-2/+17
| | | | | | | | | a 1-byte header that live555 seems to be stripping for some reason, although according to the specs it should be there. Patch by Carl Eugen Hoyos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22481 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused definition of insertRTPData(); it's not only unused,nicodvb2007-03-052-32/+0
| | | | | | | | | but conceptually wrong as it passed extradata as first demux_packet to the corresponding demux_stream. Patch by Carl Eugen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22472 b3059339-0415-0410-9bf9-f77b7e298cf2
* Audio should now work fine, so remove the ENABLE_AUDIO ifdefreimar2007-03-051-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22468 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement percent-based seekingreimar2007-03-051-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22467 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix seeking for avisynth audio.reimar2007-03-051-6/+14
| | | | | | Based on patch by Alexander Ponyatikh (ranma at 274 ru). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22466 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix DEMUXER_CTRL_GET_PERCENT_POS with -novideoreimar2007-03-051-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22465 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove pointless cast to intreimar2007-03-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22464 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove subcp_open/subcp_close from mkv demuxer, they are useless since a ↵reimar2007-03-051-7/+0
| | | | | | long time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22463 b3059339-0415-0410-9bf9-f77b7e298cf2
* when seeking consider stream->start_pos instead of 0 as initial position; ↵nicodvb2007-03-041-2/+4
| | | | | | patch by Zuxy Meng approved by Michael git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22458 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove variable that is unnecessary after last patchreimar2007-03-041-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove hack that sets demuxer->video->pts after seeking, it seems no longer ↵reimar2007-03-041-1/+0
| | | | | | needed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22451 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set pts also for audio packetsreimar2007-03-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Already frameno == num_frames means we reached EOF.reimar2007-03-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22449 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash with avisynth audio-only files and take audio length into account ↵reimar2007-03-041-2/+5
| | | | | | when length is queried. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22448 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support more avisynth audio sample types (untested)reimar2007-03-041-2/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless void * castsreimar2007-03-041-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22446 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not read more audio samples than availablereimar2007-03-041-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22445 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix pakcet -> packet typo in outputreimar2007-03-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22444 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set format tag for float samples correctly (currently useless)reimar2007-03-041-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move/simplify some variable declarationsreimar2007-03-041-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22440 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxers have no business setting o_bpsreimar2007-03-041-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22439 b3059339-0415-0410-9bf9-f77b7e298cf2
* First half-working avisynth audio supportreimar2007-03-041-4/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22438 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong setting of samplesize (must be bytes per sample, not bits)reimar2007-03-041-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22437 b3059339-0415-0410-9bf9-f77b7e298cf2
* ENABLE_AUDIO now selects only between -nosound and -aid 0 as default, can be ↵reimar2007-03-041-10/+4
| | | | | | overridden at runtime. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable aid/vid stream selection, although it is quite useless currently.reimar2007-03-041-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix type and usage of avs_get_audio functionreimar2007-03-041-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22432 b3059339-0415-0410-9bf9-f77b7e298cf2
* warn users about drm files, patch by zuxy mengcompn2007-03-031-0/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace MIN with FFMINreimar2007-03-011-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22396 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.reimar2007-03-012-17/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22395 b3059339-0415-0410-9bf9-f77b7e298cf2
* test the continuity of timestamps for STREAMTYPE_VCD, too; patch by Zuxy Mengnicodvb2007-02-281-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22381 b3059339-0415-0410-9bf9-f77b7e298cf2
* implementation of DEMUXER_CTRL_GET_TIME_LENGTH and ↵nicodvb2007-02-271-1/+21
| | | | | | DEMUXER_CTRL_GET_PERCENT_POS; patch by the usual Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22373 b3059339-0415-0410-9bf9-f77b7e298cf2
* assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyosnicodvb2007-02-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22372 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, removed code that messed with the internals of demux_packet_t (but ↵nicodvb2007-02-271-2/+1
| | | | | | there's still more); patch by C.E.Hoyos fixed by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22371 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed duplicated code in demux_seek(); stream_seek() already aligns to ↵nicodvb2007-02-272-11/+0
| | | | | | STREAM_BUFFER_SIZE boundary git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22370 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000l: average != semidistance, fixed seeking to the middle position; ↵nicodvb2007-02-271-1/+1
| | | | | | patch by Zuxy meng (zuxy.megn gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22369 b3059339-0415-0410-9bf9-f77b7e298cf2
* copy the content of QDM2 atom as extradata for ffqdm2 playback; patch by ↵nicodvb2007-02-261-0/+19
| | | | | | Carl Eugen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22354 b3059339-0415-0410-9bf9-f77b7e298cf2
* 2 less variablesnicodvb2007-02-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22351 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: reformattednicodvb2007-02-251-65/+65
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22350 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variablesnicodvb2007-02-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22349 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified parse_mpeg12_video()nicodvb2007-02-251-82/+72
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22348 b3059339-0415-0410-9bf9-f77b7e298cf2
* member real_framerate is completely uselessnicodvb2007-02-251-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22346 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: reindentednicodvb2007-02-251-10/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22341 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed commented/useless code from parse_mpeg12_video()nicodvb2007-02-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22340 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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