summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Fix r26032: wrong sub stream id assigned to dvdsub_id.eugeni2008-02-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26046 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support -slang in lavf demuxer.eugeni2008-02-191-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26032 b3059339-0415-0410-9bf9-f77b7e298cf2
* when seeking in H264 an SPS *should* be a valid entry point; feel free to ↵nicodvb2008-02-161-1/+1
| | | | | | change it if it's wrong git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26008 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmeticsnicodvb2008-02-161-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26007 b3059339-0415-0410-9bf9-f77b7e298cf2
* in ts_detect_streams() try to identify the program found based on vpid and ↵nicodvb2008-02-161-0/+7
| | | | | | apid if the previous attempts failed for lack of infos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26006 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change force_fps and force_ofps to doublereimar2008-02-142-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25997 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change mf_fps to doublereimar2008-02-142-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25996 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-144-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* add ffpcx decoder, works on my samples.compn2008-02-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change to always use MP_NOPTS_VALUE (instead of sometimes 0) for unknown pts.reimar2008-02-122-6/+3
| | | | | | | | I did not see anything obvious that would break, it if it does it should be fixed properly once and for all. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25988 b3059339-0415-0410-9bf9-f77b7e298cf2
* -chapter is now handled uniformly calling demuxer_seek_chapter() insteadnicodvb2008-02-111-11/+0
| | | | | | | of letting individual demuxers and stream readers do their nasty job git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25987 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic typo fix, geneate > generatecompn2008-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25964 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_RB*, reduces x86_64 code size by almost 1kB.reimar2008-02-091-18/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25963 b3059339-0415-0410-9bf9-f77b7e298cf2
* in some still unknown system format 0x82 identifies AUDIO_DTSnicodvb2008-02-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25962 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add speex tagreimar2008-02-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check buffer index while reading to avoid sig11rtogni2008-02-051-2/+25
| | | | | | | Fixes bugzilla #956 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow demuxers to choose a default value for correct_ptsreimar2008-02-035-7/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25951 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for attachments in lavf demuxer.eugeni2008-01-301-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25932 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a comment to the #if 0reimar2008-01-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25926 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check that index is still within bounds of samples array.reimar2008-01-291-0/+4
| | | | | | | | Previous check is not enough and the code is not performance critical so do it the easy way. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25922 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure chunkmap values are within bounds when using them.reimar2008-01-291-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25921 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not pointlessly read data, just skip it.reimar2008-01-291-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable reading of flac metadata, mere metadata is not worth such a mess.reimar2008-01-291-1/+3
| | | | | | | | If you want this, fix the implementation to not crash at least occasionally, or wait till I get bored enough to fix it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Properly check length of flac metadata.reimar2008-01-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25917 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix r25817 to not always destroy codec_tag, this broke playback of e.g. ape ↵reimar2008-01-291-3/+6
| | | | | | files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25914 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use defines to give names to the different seek flags.reimar2008-01-2925-60/+61
| | | | | | | | A better solution should be considered later, esp. for the many broken demuxers that do not treat these flags correctly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make mov subtitles work with -assreimar2008-01-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25909 b3059339-0415-0410-9bf9-f77b7e298cf2
* clarify comments/docs about lav* being the preferred place to implement newivo2008-01-281-2/+4
| | | | | | | | codecs and (de)muxers, except for wrappers around external libraries and codecs and (de)muxers requiring binary support. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25908 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support CODEC_ID_MOV_TEXTreimar2008-01-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25907 b3059339-0415-0410-9bf9-f77b7e298cf2
* copy note on new demuxers and codecs to the top of the array as well to beivo2008-01-281-0/+3
| | | | | | | extra clear git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25904 b3059339-0415-0410-9bf9-f77b7e298cf2
* note on new demuxers and codecs, add them to lav* instead of libmp*ivo2008-01-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25900 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use uppercase filename as multiple inclusion guard.diego2008-01-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support mov subtitle format directly instead of converting to text in the ↵reimar2008-01-271-9/+4
| | | | | | demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prefer lavf mov demuxer over our own, it should work better most of the time ↵reimar2008-01-271-0/+1
| | | | | | now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25874 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify init_vobsub: pass palette via extradata.reimar2008-01-261-8/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25873 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, inverted condition for AVSEEK_FLAG_BACKWARDreimar2008-01-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25871 b3059339-0415-0410-9bf9-f77b7e298cf2
* Used wrong condition for using AVSEEK_FLAG_BACKWARD, it should depend onreimar2008-01-261-2/+3
| | | | | | | relative vs. absolute, not time- vs. percent-based seek. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove some trailing whitespacereimar2008-01-261-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25869 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add QDM2 codec identifierreimar2008-01-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Partially support vobsub subtitles from lavf demuxers (palette support missing)reimar2008-01-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25867 b3059339-0415-0410-9bf9-f77b7e298cf2
* in the crazy ES probing code return DEMUXER_TYPE_MPEG_ES (mpeg12v) only if ↵nicodvb2008-01-261-1/+4
| | | | | | we have at least a couple of SEQ/GOP startcodes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25866 b3059339-0415-0410-9bf9-f77b7e298cf2
* in the PMT stream_type==0x11 indicates AAC in LATM streams, that now libfaad ↵nicodvb2008-01-261-0/+1
| | | | | | can decode; re-added git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25865 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow overriding the codec_tag for audio codecs, and always override rtogni2008-01-201-3/+13
| | | | | | | | | | codec_tag for PCM codecs (codec_id from lavf is correct, but the codec_tag may be non-zero and wrong). Also fixes bugzilla #983 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25817 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix endless loop if nAvgBytesPerSec is 0.reimar2008-01-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25800 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a division by 0 if i_bps is 0.reimar2008-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add name to email address.diego2008-01-191-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25796 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put bff_mask into muxer context instead of a global variable.reimar2008-01-131-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25748 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark qt default palette tables as constreimar2008-01-131-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25736 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all demuxer_desc_t const, thus moving them to .rodatareimar2008-01-1336-88/+88
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25735 b3059339-0415-0410-9bf9-f77b7e298cf2
* First step towards making all demuxer_desc_t constreimar2008-01-132-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25734 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless assignment (there is an if just a few lines abovereimar2008-01-131-1/+1
| | | | | | | that ensures those two are already equal). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a forgotten #ifdef USE_ASS around ass_free_trackreimar2008-01-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25730 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved pes_header from file-static to send_mpeg_pes_packet_ll()nicodvb2008-01-131-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25704 b3059339-0415-0410-9bf9-f77b7e298cf2
* Write functions used by send_mpeg_*_packet may _not_ modify datareimar2008-01-122-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25701 b3059339-0415-0410-9bf9-f77b7e298cf2
* ps1_header and ps2_header should be constreimar2008-01-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25700 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a few "const" attributes.reimar2008-01-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25699 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add libass support to demux_lavf.eugeni2008-01-121-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25687 b3059339-0415-0410-9bf9-f77b7e298cf2
* Instead of keeping attachments in mkv demuxer, use demuxer_add_attachment().eugeni2008-01-121-44/+1
| | | | | | | These attachments are passed to libass after demuxer is opened. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25686 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add demuxer interface for attachments.eugeni2008-01-122-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25685 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove global_ass_track. Instead create an ass_track for each 't' track.eugeni2008-01-111-1/+2
| | | | | | | | Global_ass_track obviously can not work when there is more than one 't tracks, their lines will be mixed up. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25684 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move all subtitle parsing from mkv demuxer to update_subtitles().eugeni2008-01-111-22/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25683 b3059339-0415-0410-9bf9-f77b7e298cf2
* Init and destroy ass_tracks in demuxer.c based on sh_sub->type value.eugeni2008-01-112-40/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25682 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set extradata for subtitle tracks in mkv demuxer.eugeni2008-01-111-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25681 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add extradata to sh_sub_t.eugeni2008-01-112-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25680 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize private data decoding for subtitle tracks in mkv demuxer.eugeni2008-01-111-20/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25679 b3059339-0415-0410-9bf9-f77b7e298cf2
* Codecdata must always be malloc'd, fixes free being called with anreimar2008-01-091-2/+4
| | | | | | | invalid pointer when freeing codecdata. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Deallocate audio track codecdata.eugeni2008-01-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25642 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers: Names starting with __ or _ and uppercase are reserveddiego2008-01-066-16/+16
| | | | | | | for the system, names starting with _ are reserved at file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25635 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't overread audio datartogni2008-01-061-1/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25628 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't dynamically allocate sub_packet_lengths[] in raac demuxing.rtogni2008-01-061-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25627 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrapper functions to get/set angle: the wrapping is needed to RESYNC the ↵nicodvb2008-01-052-0/+55
| | | | | | demuxer; patch by oattila chello hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25603 b3059339-0415-0410-9bf9-f77b7e298cf2
* in the PMT stream_type==0x11 identified AAC in LATM-over-LOAS syntax that ↵nicodvb2008-01-051-1/+0
| | | | | | isn't decodable yet, removed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-016-0/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use just the name of the #ifdef directive in #endif comments.diego2008-01-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong #endif comment that does not match the #ifdef directive.diego2008-01-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-318-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some const/static qualifiers as appropriatereimar2007-12-242-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use realloc_struct in more places for consistencyreimar2007-12-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of some of the more excessive () and casts.reimar2007-12-241-24/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we have an rtsp sessionlu_zero2007-12-241-0