summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* delay rff by 6, not 3 frames, so the rff will be in the middle of the 12 ↵nicodvb2006-02-121-1/+3
| | | | | | frames sequence git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17604 b3059339-0415-0410-9bf9-f77b7e298cf2
* experimental film2pal and ntsc2pal soft telecinernicodvb2006-02-121-5/+67
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17601 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgotten cast (blows on gcc4)henry2006-02-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17600 b3059339-0415-0410-9bf9-f77b7e298cf2
* we cannot continue without a crash when read_asf_header fails, since somereimar2006-02-121-1/+2
| | | | | | | | memory is allocated in that function (ugly!!). Fixes bug #450, patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17599 b3059339-0415-0410-9bf9-f77b7e298cf2
* add some sanity checks to new/resize_demux_packetreimar2006-02-121-4/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17598 b3059339-0415-0410-9bf9-f77b7e298cf2
* init frame duration to 1/fps when we have a frame but not the enclosing ↵nicodvb2006-02-111-0/+2
| | | | | | sequence header: it's workaround against lavf's demuxer that doesn't sync to seq_hdr unlike mplayer's native demuxers git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17592 b3059339-0415-0410-9bf9-f77b7e298cf2
* tff wasn't correctly unset in soft_telecine()nicodvb2006-02-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17584 b3059339-0415-0410-9bf9-f77b7e298cf2
* add mpc extension so that playback starts faster.reimar2006-02-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit of unfinished patch for passing audio_delay to the demuxers.corey2006-02-0922-30/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-0913-17/+17
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >)aurel2006-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix CSeq answer for keepalive OPTIONS requests during playbackrtognimp2006-02-081-2/+2
| | | | | | | | | The CSeq was mispelled as Cseq, so MPlayer alwys answered with CSeq=1 Fixed with help from xiojason on #mplayer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17563 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l 1000 fps fixmichael2006-02-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17557 b3059339-0415-0410-9bf9-f77b7e298cf2
* read data in nBlockAlign aligned chunksreimar2006-02-071-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17555 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. Include audio_delay as an argument to demux_seek.corey2006-02-0722-29/+30
| | | | | | | | | | | 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
* removed unused variablesnicodvb2006-02-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17541 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong delta_frame calculation that would affect soft-telecinenicodvb2006-02-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Build muxers only when MEncoder is enabled.diego2006-02-061-5/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17539 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed forgotten fprintf()nicodvb2006-01-301-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17519 b3059339-0415-0410-9bf9-f77b7e298cf2
* use mp_a52_framesize() when liba52 is not availablenicodvb2006-01-271-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17494 b3059339-0415-0410-9bf9-f77b7e298cf2
* export custom mp_a52_framesize(), needed to parse ac3 frames when liba52 is ↵nicodvb2006-01-271-3/+6
| | | | | | not present; will be moved in a more appropriate place sometimes in the future git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17493 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPlayer OSX port: Add a call to UDFFindFile to verify that we are opening a ↵nplourde2006-01-271-0/+9
| | | | | | valid udf image. Patch by Emanuele Giaquita <emanuele.giaquinta@gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17491 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to ↵michael2006-01-267-23/+24
| | | | | | muxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
* limits.h for INT_MAXmichael2006-01-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17486 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct block alignmichael2006-01-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17485 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix aac in mov/mp4michael2006-01-251-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17483 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass vbv_size & max_rate from encoder to muxer over muxer_stream_t (if this ↵michael2006-01-252-2/+22
| | | | | | | | | | is wrong/silly/10000000l then dont hesitate to flame / reverse) make a few things like mux_rate, mux_max_delay, ... user settable fixed buffer underflow errors when muxing to mpeg-ps git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17481 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting codec_tag unconditionally to FMP4 is a bad idea (breaks mov/mp4)michael2006-01-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17480 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin compilation fixdiego2006-01-201-0/+2
| | | | | | | patch by Erik Lunchpail < erik_27can %%@%% yahoo %%.%% com > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17447 b3059339-0415-0410-9bf9-f77b7e298cf2
* suppress error message at eofreimar2006-01-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17421 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster and (IMHO) cleaner code.reimar2006-01-171-56/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17419 b3059339-0415-0410-9bf9-f77b7e298cf2
* function to read from a demuxer up to (and including) the specifiedreimar2006-01-172-0/+37
| | | | | | | 3-byte pattern. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print some more useful data from header in verbose modertognimp2006-01-151-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support sipr codec in old RealAudio files.rtognimp2006-01-151-2/+49
| | | | | | | Closes bugzilla #435 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17401 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always try to parse index chunk, no reason to check for movi_endreimar2006-01-141-4/+2
| | | | | | | 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 formatrtognimp2006-01-141-1/+1
| | | | | | | 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 trackrtognimp2006-01-141-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17389 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l - one cast too manyrathann2006-01-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.diego2006-01-132-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-1217-69/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* convert some printfs to mp_msgrathann2006-01-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for external libavformatnicodvb2006-01-095-7/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17355 b3059339-0415-0410-9bf9-f77b7e298cf2
* OS X compilation fix: Include inttypes.h so that uint32_t is not undefined.diego2006-01-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17352 b3059339-0415-0410-9bf9-f77b7e298cf2
* include the right avcodec.h, consistently with the rest of mplayernicodvb2006-01-084-8/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix crash if no video codec availablereimar2006-01-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17343 b3059339-0415-0410-9bf9-f77b7e298cf2
* disabled hack to read the properties of mpeg1/2 video in avi and asf: it's ↵nicodvb2006-01-071-1/+1
| | | | | | totally useless and leads mplayer to crash git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17340 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch makes real rtsp tell the server to deliver data at specifiedrtognimp2006-01-064-4/+15
| | | | | | | | | | | | | bandwidth, if bandwidth cmdline option is given. Also, if that's given, it uses it for sdp stream selection. If not given, the behavior is the same as before. It's used to implement something like turboplay in realplayer. Patch by Tomas Janousek >>> tomi (At) nomi (.) cz <<< git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17333 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't leak memory (free audio reordering buffers)rtognimp2006-01-041-0/+4
| | | | 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 samertognimp2006-01-041-4/+7
| | | | | | | | | 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 floatrtognimp2006-01-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17317 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved handling of text subs in Matroska files with adjacent newlines (\N) ↵mosu2006-01-041-8/+14
| | | | | | resulting in more than SUB_MAX_TEXT lines to display. Patch by Robert Henney (robh () rut ! org). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17309 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed previously forgotten reording options/flagsnicodvb2006-01-031-6/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17302 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed broken frame reording code; unified audio and video frame storing ↵nicodvb2006-01-031-108/+48
| | | | | | code (in memory, not in the packets); simple workaround to handle non-standard framerate mpeg1/2 video git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17299 b3059339-0415-0410-9bf9-f77b7e298cf2
* h264es: don't seek to non-keyframeslorenm2006-01-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17290 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't reset dvdsub->id unless -slang is specified; assign default sub stream ↵nicodvb2006-01-021-0/+5
| | | | | | id when demux->sub->id is -1 (autodetect) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17287 b3059339-0415-0410-9bf9-f77b7e298cf2
* Partial support for QuickTime sound atom version 2.corey2006-01-021-5/+33
| | | | | | | | | | | | | | | This doesn't add support for parsing the sound atom itself, but does recognize the different offset at which the ESDS atom starts. Also, this patch supports "3" in the channels field, which indicates 6-channel (5.1) audio. For more information, see this mail: From: Corey Hickey <bugfood-ml@fatooh.org> To: mplayer-dev-eng@mplayerhq.hu Date: Wed, 28 Dec 2005 23:42:46 -0800 Subject: [PATCH] (partially) support QuickTime sound atom version 2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17284 b3059339-0415-0410-9bf9-f77b7e298cf2
* search next sequence_header untile a valid one is foundnicodvb2005-12-311-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17278 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplification: don't use residual_buffer, but prepend remainder of current ↵nicodvb2005-12-301-22/+14
| | | | | | frame to next one (needed for future work; init frame->pos to 0 in reorder_frame(); fix: don't go beyond last frame in flush_buffer() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17272 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix dvdread version macrorathann2005-12-281-4/+6
| | | | | | | patch by Emanuele Giaquinta (emanuele.giaquinta at gmail dot com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17258 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add "application/x-mms-framed" for ASFrtognimp2005-12-241-0/+1
| | | | | | | | Fixes http://64.34.147.109:3690/CFMJAM, closes bug #420 Fix by Rado R. ||| r_a_d_o |a| hotmail | com ||| git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17236 b3059339-0415-0410-9bf9-f77b7e298cf2
* Typo in ASF demuxer selection by name (it's 'asf', not 'asv')rtognimp2005-12-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17233 b3059339-0415-0410-9bf9-f77b7e298cf2
* malloc padding to avoid access beyond allocated memoryhenry2005-12-194-15/+50
| | | | | | | 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
* calculate framesize for raw RGB and BGR.reimar2005-12-181-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17220 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix crash with invalid -vid and no audio streamreimar2005-12-181-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17219 b3059339-0415-0410-9bf9-f77b7e298cf2
* include fastmemcpy.h before stream.h, so it is used for the stream_readreimar2005-12-171-1/+2
| | | | | | | function, too. Gives a small speedup for e.g. high bandwidth MPEG2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17201 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove now useless YV12 plane swap hack, patch by Luc Gallant lucgallant at ↵henry2005-12-161-18/+4
| | | | | | gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17200 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation when dvdkit and dvdread are not availablenicodvb2005-12-144-5/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17192 b3059339-0415-0410-9bf9-f77b7e298cf2
* make demuxer seek and close functions return void, patch by Dominik Mierzejewskiwanderer2005-12-114-11/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17175 b3059339-0415-0410-9bf9-f77b7e298cf2
* Harcoded eng strings on libmpdemux/network.c to help_mpreynaldo2005-12-101-31/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move audio packets reordering from codec interface to demuxers for realrtognimp2005-12-092-90/+151
| | | | | | | | | 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
* fixrathann2005-12-052-0/+2
| | | | | | | | | pnm.c:228: warning: implicit declaration of function 'usec_sleep' realrtsp/rtsp.c:184: warning: implicit declaration of function 'usec_sleep' ad_acm.c:149: warning: implicit declaration of function 'usec_sleep' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17093 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixrathann2005-12-051-0/+2
| | | | | | | | muxer_mpeg.c:2315: warning: implicit declaration of function 'mp_get_mp3_header' muxer_mpeg.c:2339: warning: implicit declaration of function 'a52_syncinfo' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17092 b3059339-0415-0410-9bf9-f77b7e298cf2
*