summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Play TrueHD in BluRay with demuxer lavf.cehoyos2009-10-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29751 b3059339-0415-0410-9bf9-f77b7e298cf2
* lavf: if seeking in the desired direction failed, also try in the opposite one,reimar2009-09-301-1/+4
| | | | | | | | otherwise we might end up at some random position (where lavf last ended up while trying to build the index). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29741 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid void * arithmetic.reimar2009-09-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify aac_get_sample_rate_indexreimar2009-09-301-24/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29739 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for grow_array allocation failure.reimar2009-09-301-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a possible crash if num_cluster_pos is 0.reimar2009-09-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29737 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for integer overflow in grow_array.reimar2009-09-301-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29736 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rearrange code of grow_array to make it easier to extend.reimar2009-09-301-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29735 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a memleak if realloc fails in grow_array.reimar2009-09-301-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29734 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change grow_array argument from void ** to void *, this avoids a aliasingreimar2009-09-301-4/+5
| | | | | | | | violation (thus making gcc 4.4.x compile the code correctly) and allows to get rid of some casts at the expense of making the code less clear. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add 0x85 ad ID for DTS audio.diego2009-09-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29703 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow playback of dnxhd files, as produced by FFmpeg regression test.cehoyos2009-09-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29700 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of useless indirection and use the demuxer argument directly instead ofreimar2009-09-141-2/+1
| | | | | | | | | ds->demuxer. This makes it also work again with -audiofile without having to add more hacks to demux_demuxers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29677 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce verbosity if demuxer sets an info value to the same as the current value.reimar2009-09-141-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29676 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add w64 to list of preferred lavf formats (otherwise demux_audio incorrectlyreimar2009-09-101-0/+1
| | | | | | | | claims the Wave64 files but can not handle them). Patch by Daniel Verkamp [daniel drv nu]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29668 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sort preferred_list alphabetically since the order does not matter otherwise.reimar2009-09-101-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29667 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add CODEC_ID_ADPCM_IMA_AMV to lavf codec_tag override list instead ofreimar2009-09-082-2/+1
| | | | | | | reimplementing that functionality. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29664 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all mp_*_taglists const.reimar2009-09-081-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29663 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix an endless loop if all programs are empty.reimar2009-09-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29660 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always register all streams from libavformat, not just those belonging to a ↵reimar2009-09-081-5/+3
| | | | | | program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29657 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for lavf vqf demuxer and lavc TwinVQ decoder.vitor2009-09-073-1/+3
| | | | | | | | | Also make lavf the default demuxer for vqf. Ok'ed by Compn on IRC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29655 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, SIZE_MAX must be UINT_MAX to prevent an integer overflow later on,reimar2009-09-041-1/+1
| | | | | | | also it is preferable if demuxer parsing does not differ between architectures. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29640 b3059339-0415-0410-9bf9-f77b7e298cf2
* free(), delete and delete[] are all different and can't just be used at random,reimar2009-09-021-2/+2
| | | | | | | so change code to use the one appropriate for the allocation used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a hack to ensure data from e.g. mov format -subfile gets read at allreimar2009-09-011-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack demux_demuxers so that demux_demuxers_fill_buffer is actually called.reimar2009-09-011-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MPEG-4 ASP in MPEG transport streams with -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix EAC3 in MPEG transport streams with -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | | | | Patch by Wang William, william0wang gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix DTS in MPEG transport streams with -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix AAC in MPEG transport stream for -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29596 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: alphabetically order listsdiego2009-08-311-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename mp_wav_override_tag* as mp_codecid_override_tag* to reflect thatcehoyos2009-08-303-4/+6
| | | | | | | it now can be used for both audio and video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29593 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MPEG2 and H264 in MPEG transport stream with demuxer lavf.cehoyos2009-08-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use mp_wav_override_taglists for both audio and video.cehoyos2009-08-301-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MP2 and AC3 with demuxer lavf in MPEG transport streams.cehoyos2009-08-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support PCM in Bluray streams.cehoyos2009-08-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reuse ds_get_packet in ds_get_packet_ptsreimar2009-08-231-11/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add suport for detecting and demuxing DVB teletext streams (nothing beyond ↵reimar2009-08-211-6/+16
| | | | | | that though). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix incompatible pointer types warning, also seems to fix mis-compilation ↵reimar2009-08-171-2/+2
| | | | | | with gcc-4.4.1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29532 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 100l broken flag check found due to compiler warning.reimar2009-08-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29531 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set demuxer->filepos in mf demuxer, since the stream_tell fallback is notreimar2009-08-171-3/+3
| | | | | | | usable. Fixes progress display in mencoder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29530 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of rawaudio control code again that only duplicates the fallback code inreimar2009-08-171-20/+0
| | | | | | | demuxer.c now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29529 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle demuxers that never set filepos by using stream_tell.reimar2009-08-171-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29528 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some protection to the rawaudio GET_LENGTH/GET_PERCENT_POS in case thereimar2009-08-161-1/+2
| | | | | | | file length is not known (streaming). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29526 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS forreimar2009-08-161-1/+18
| | | | | | | rawaudio demuxer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Dolby TrueHD support for mkv demuxer.cehoyos2009-08-132-1/+5
| | | | | | | Patch by Jason Tackaberry, tack urandom ca git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29513 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix possible double-free.cehoyos2009-08-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new libavformat metadata API.greg2009-08-111-10/+9
| | | | | | Patch by Anton Khirnov <wyskas@gmail.com>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make *avcctx AVCodecContext instead of void.cehoyos2009-08-112-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix H.264 SPS parsing in case of scaling list present.cehoyos2009-08-111-2/+15
| | | | | | | Patch by Marco Munderloh, munderl A tnt D uni-hannover D de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a crash when playing some H264 over rtsp streams: Do pass ancehoyos2009-08-112-1/+7
| | | | | | | AVCodecContext to the H264 parser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Parse BitsPerSample and SamplesPerSec when playing PCM in X-QT overcehoyos2009-08-111-0/+4
| | | | | | | RTSP. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29490 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow dpx image files as input.cehoyos2009-08-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix QT RLE in X-QT via rtsp://.cehoyos2009-08-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29477 b3059339-0415-0410-9bf9-f77b7e298cf2
* handle TrueHD streams (they are carried in 0xFD PES streams in substream 0x72)nicodvb2009-07-301-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29457 b3059339-0415-0410-9bf9-f77b7e298cf2
* added inexistant TRHD fourcc to handle TRUEHD streams in forthcoming patchnicodvb2009-07-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-265-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print information about chapters with -identify.reimar2009-06-281-0/+7
| | | | | | | Patch by Adrian Stutz [adrian sttz ch] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
* AVStream.language is deprecated, switch to av_get_metadata instead.reimar2009-06-241-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29386 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move allocation to avoid a possible memleak if new_sh_audio fails.reimar2009-06-241-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless stream count checks, new_sh_* already checks for that.reimar2009-06-241-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29384 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print ID_AID_???_LANG and ID_SID_???_LANG in lavf demuxer so that frontendsreimar2009-06-241-2/+6
| | | | | | | can correctly display the languages of audio and subtitle tracks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29383 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation: codec_wav_tags/codec_bmp_tags were renamed toreimar2009-06-231-2/+2
| | | | | | | ff_codec_wav_tags/ff_codec_bmp_tags. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29382 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move printing of ID_AID_???_LANG to ts_add_stream instead of ts_detect_streams.reimar2009-06-231-2/+4
| | | | | | | This makes sure it is printed only once per track and after ID_AUDIO_ID. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize es->lang to ensure a previous value does not get misattributedreimar2009-06-231-0/+1
| | | | | | | to a different track. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29380 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate printing of ID_AUDIO_ID/ID_VIDEO_ID, those are alreadyreimar2009-06-211-2/+0
| | | | | | | printed by the new_sh_... functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29378 b3059339-0415-0410-9bf9-f77b7e298cf2
* TS demuxer: make the IDs used by DEMUXER_CTRL_SWITCH_* and ↵reimar2009-06-211-9/+4
| | | | | | | | | DEMUXER_CTRL_IDENTIFY_PROGRAM match those printed as ID_VIDEO_ID/ID_AUDIO_ID and accepted with -vid/-aid git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29377 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add const where appropriate, also gets rid of a compiler warning.reimar2009-06-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29338 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, do not read probe buffer if it will not be used because a format was ↵reimar2009-06-011-6/+7
| | | | | | forced. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29337 b3059339-0415-0410-9bf9-f77b7e298cf2
* In all demux_info_add calls change "name" to "title".reimar2009-05-307-7/+7
| | | | | | | | | Currently "name" and "title" are both used at random, this makes it consistent. "title" was chosen because it is less ambiguous and also the get_meta_title slave mode command uses that (there is no get_meta_name command). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify over rtsp_transport_tcp as var to hold the -rtsp-stream-over-tcp flag ↵lu_zero2009-05-251-3/+8
| | | | | | and make sure libnemesi only builds are fine git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29322 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1358-1154/+1154
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of some more trailing whitespacereynaldo2009-05-121-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29298 b3059339-0415-0410-9bf9-f77b7e298cf2
* chunk size = 0 is valid for DATA chunks (used in live streams), don't rtogni2009-05-101-1/+1
| | | | | | | | print warning message git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29289 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license header to all files in libmpdemux.diego2009-05-0861-119/+1168
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal GPL license header by standard GPL header.diego2009-05-081-11/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29279 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal LGPL header by standard LGPL license header.diego2009-05-081-6/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29278 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add prototype for mp_a52_framesize().diego2009-05-051-0/+2
| | | |