aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/demux_real.c
Commit message (Collapse)AuthorAge
* Call real_fix_timestamp() after seeking, to avoid video freezing Gravatar rtogni2007-01-27
| | | | | | | | 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
* Use interleaver id to select the correct interleaver instead of guessing Gravatar rtogni2007-01-24
| | | | | | | it from the codec id. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22007 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove superfluous bswap.h include.Gravatar diego2006-12-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix extradata passing to lavc RV20 decoderGravatar rtogni2006-11-14
| | | | | | | | | | | | Pass video codec extradata unchanged from demux_real, sync vd_realvid to the new format Sync mkv demuxer to the changes above (cmsg24 extradata was totally broken before) Detect cmsg24 size from extradata (was fixed) Based on a patch by elupus >> elupus >a< ecce se << git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change some constants in pts arithmetic from float to double.Gravatar uau2006-11-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20811 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed code that used pts=0 in demux packets to indicate "not known".Gravatar uau2006-11-09
| | | | | | | Now demux_real should be usable with -correct-pts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20810 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent segfault if video codec init failsGravatar rtogni2006-10-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Quick hack to implement percent-based seeking, also fixes seeking with gmplayerGravatar reimar2006-10-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20508 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix timestamps for streams where kf_base gets negativeGravatar rtogni2006-10-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless assignements, thanks reimar for noticing themGravatar rtogni2006-10-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20204 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove old hack to search for .ar and VIDO, we know where they areGravatar rtogni2006-10-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allows up to 8 bytes of extradata for cmsg24Gravatar rtogni2006-10-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20150 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix extradata lenght when adding cmsg24 dataGravatar rtogni2006-10-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup: remove some old commented out skipsGravatar rtogni2006-10-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix problems on live streams with huge timestamps, causing overflows and Gravatar rtogni2006-10-09
| | | | | | | | negative pts values. It also changes pts to double, since there is no enough precision in float to represent 32bit uint timestamps. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20145 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make fill_buffer function check for stream eof, fixes hang at eof (bug #580)Gravatar reimar2006-09-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing part of previous patch to demux_real.c (revision 19958)Gravatar reimar2006-09-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19960 b3059339-0415-0410-9bf9-f77b7e298cf2
* int->unsigned to avoid crash to sign extension, partially fixes bug #580Gravatar reimar2006-09-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some potential integer overflow in memory allocation (mot of theseGravatar rtognimp2006-05-14
| | | | | | | were probably safe or disabled anyway) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation. Patch by Reimar and ↵Gravatar rtognimp2006-05-11
| | | | | | me, SIZE_MAX by Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18445 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part3 of Otvos Attila's oattila AT chello-hu mp_msg changes, with lots of ↵Gravatar reynaldo2006-04-22
| | | | | | modifications as usual git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18177 b3059339-0415-0410-9bf9-f77b7e298cf2
* always cast stream IDs to unsigned before comparing to MAX_STREAMS.Gravatar reimar2006-04-15
| | | | | | | just defining them as unsigned might be a better fix though... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18107 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printfs in aviprint.c to mp_msg and give the information printingGravatar diego2006-03-27
| | | | | | | functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.Gravatar diego2006-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only MAX_STREAMS streams are allowed (cid 115)Gravatar rtognimp2006-03-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17811 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential read from an unitialized pointer (CID: 236)Gravatar rtognimp2006-03-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_id == MAX_STREAMS is invalid, since counting starts with 0.Gravatar reimar2006-03-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17777 b3059339-0415-0410-9bf9-f77b7e298cf2
* Second-try commit of this patch.Gravatar corey2006-02-17
| | | | | | | | | | | | 1. Include audio_delay as an argument to demux_seek. 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. I've quadruple checked this time; hopefully I haven't missed anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit of unfinished patch for passing audio_delay to the demuxers.Gravatar corey2006-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. Include audio_delay as an argument to demux_seek.Gravatar corey2006-02-07
| | | | | | | | | | | 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. Other demuxers could be modified similarly in the future. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print some more useful data from header in verbose modeGravatar rtognimp2006-01-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always try to parse index chunk, no reason to check for movi_endGravatar reimar2006-01-14
| | | | | | | Also check return value of parse_index_chunk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix printing of audio fourcc in hex formatGravatar rtognimp2006-01-14
| | | | | | | Add explicit cast to fourcc print git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17392 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print audio 4cc for every stream, print 4cc of selected audio trackGravatar rtognimp2006-01-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17389 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesGravatar rathann2006-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* include the right avcodec.h, consistently with the rest of mplayerGravatar nicodvb2006-01-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't leak memory (free audio reordering buffers)Gravatar rtognimp2006-01-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove assumption that all audio packets in a block have the sameGravatar rtognimp2006-01-04
| | | | | | | | | timestamp; now the code stores timestamp for every packet and puts them on reordered packets Fixes ra10cook.rmvc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17318 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000.0l timestamps are floatGravatar rtognimp2006-01-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17317 b3059339-0415-0410-9bf9-f77b7e298cf2
* malloc padding to avoid access beyond allocated memoryGravatar henry2005-12-19
| | | | | | | Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
* make demuxer seek and close functions return void, patch by Dominik MierzejewskiGravatar wanderer2005-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17175 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move audio packets reordering from codec interface to demuxers for realGravatar rtognimp2005-12-09
| | | | | | | | | files (old and new format), pass only real extradata to the codec Enable cook codec from lavc, prefer lavc codecs for 14_4 and 28_8 formats. Disable internal 28_8, it's broken now and will be removed soon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17150 b3059339-0415-0410-9bf9-f77b7e298cf2
* move resync_audio_stream after seeking to demuxer.cGravatar reimar2005-10-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -identify's 'ID_LENGTH=' print a float and not an integer.. TheGravatar ods152005-09-02
| | | | | | | | accuracey may be totally fake for some demuxers (mpg), but accurate for others.. (avi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationGravatar rtognimp2005-08-05
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rm files with a really big index chunk.Gravatar reimar2005-03-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not read any more data at eof: if got eof in the middle of an audioGravatar rtognimp2005-01-24
| | | | | | | | block, ad_realaudio requests more data even if sh->audio->eof Fixes sig11 at eof of hotel_california_ra5.1_640x480_30s.rmvb git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Be less verbose with -v (do not print a line for each demuxed packet)Gravatar rtognimp2005-01-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.Gravatar diego2005-01-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Play RV30 with 8-elements cmsg24Gravatar rtognimp2005-01-22
| | | | | | | Fixes rv30_cmsg24_test.rmvb (now in samples) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14569 b3059339-0415-0410-9bf9-f77b7e298cf2