summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Do not switch to audio tracks whose codec private data differs from the main ↵mosu2005-05-211-0/+4
| | | | | | audio track's as this will most likely result in messed up audio output. Patch by Michael Behrisch <list () behrisch ! de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15534 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove inclusion of stdio.hnicodvb2005-05-191-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15522 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported smb:// to the new stream apinicodvb2005-05-193-104/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15521 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported smb:// to the new stream api, patch by Matthieu Tourne [matthieu ↵nicodvb2005-05-191-0/+153
| | | | | | puntum tourne ab gmail puntum com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15520 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported dvd:// to the new stream apinicodvb2005-05-195-714/+800
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15519 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reset the saved max_pts used for timecode reordering after seeking. ↵mosu2005-05-191-0/+1
| | | | | | Otherwise playback is broken after seeking back in a file that needs the timecodes to be reordered. Patch by Sam Dennis <sam () malfunction ! screaming !net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15518 b3059339-0415-0410-9bf9-f77b7e298cf2
* The Quicktime headers have changed slightly from 10.3.x to 10.4. Steven ↵nplourde2005-05-181-0/+2
| | | | | | Schultz <sms@2BSD.COM> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15509 b3059339-0415-0410-9bf9-f77b7e298cf2
* mux extradatanicodvb2005-05-171-0/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15501 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore vcd_tracknicodvb2005-05-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15485 b3059339-0415-0410-9bf9-f77b7e298cf2
* better implementation of read()nicodvb2005-05-151-9/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15483 b3059339-0415-0410-9bf9-f77b7e298cf2
* ftp is handled by the modular stream managernicodvb2005-05-151-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15479 b3059339-0415-0410-9bf9-f77b7e298cf2
* more efficient read() without memcpy()nicodvb2005-05-151-36/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15478 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported cue:// to the new stream api; note: this stream must still be ↵nicodvb2005-05-154-63/+113
| | | | | | optimized in its read() and seek() functions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15477 b3059339-0415-0410-9bf9-f77b7e298cf2
* comment out useless/nonexistent variable breaking compile on gcc4rfelker2005-05-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15473 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for stereo filesrtognimp2005-05-141-0/+22
| | | | | | | Patch by KAICHO > s_naray at yahoo dot co dot jp <, forwarded by mike git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15469 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not modify tv_param_noaudiohenry2005-05-141-37/+55
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15465 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanups of the mutex usagehenry2005-05-141-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15463 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed file:// syntax using newly introduced -string- urlpartnicodvb2005-05-141-7/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15462 b3059339-0415-0410-9bf9-f77b7e298cf2
* make file:// prefix worknicodvb2005-05-142-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15453 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l forgotten commenthenry2005-05-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15452 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variablesnicodvb2005-05-141-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15451 b3059339-0415-0410-9bf9-f77b7e298cf2
* improve playback with mplayer -tv immediatemode=0henry2005-05-141-17/+73
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15450 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent possible exploitnicodvb2005-05-131-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15427 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixup the correct sh_anicodvb2005-05-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15425 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed too few parameters to mp_msg(); silence compilation warnings, removed ↵nicodvb2005-05-121-5/+5
| | | | | | unused variable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15424 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't call fixup_audio if there's no audionicodvb2005-05-121-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15423 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix segfaults caused by socket and file descriptor mismatches on windowsfaust32005-05-121-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15422 b3059339-0415-0410-9bf9-f77b7e298cf2
* vorbis extradata is now passed from demuxer to decoder in matroska's waynicodvb2005-05-122-48/+86
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15421 b3059339-0415-0410-9bf9-f77b7e298cf2
* BGR formats are ok, toohenry2005-05-121-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15420 b3059339-0415-0410-9bf9-f77b7e298cf2
* v4l2 RGB15/16 is actually BGRhenry2005-05-121-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15419 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix audio playback for no-sound-3gp.3gp (amr nb)rtognimp2005-05-061-1/+1
| | | | | | | Patch by Richard van der Hoff * richardv * mxtelecom * com * git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15358 b3059339-0415-0410-9bf9-f77b7e298cf2
* Decode "d263" and "damr" atoms in 3gp filesrtognimp2005-05-051-0/+16
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15357 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the memleak fix: in case of error, demux_close_ogg should be calledreimar2005-05-021-4/+1
| | | | | | | only once and demuxer->priv be freed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15322 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix timestampsmichael2005-05-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15315 b3059339-0415-0410-9bf9-f77b7e298cf2
* Nasty workaround for codec initialization data. In _at least_ one case (AAC) ↵mosu2005-05-011-1/+14
| | | | | | the stream_header.size element seems to be four bytes off. Skip those bytes but only for known cases (again AAC) and not for all. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15314 b3059339-0415-0410-9bf9-f77b7e298cf2
* at lest this fixes build.. there's no way muxer_lavf is working right yet ↵rfelker2005-05-011-0/+5
| | | | | | tho with mencoder's broken timestamps git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15310 b3059339-0415-0410-9bf9-f77b7e298cf2
* LIBAVFORMAT_BUILD >= 4624michael2005-05-011-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15309 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes double import of avs_create_script_environment.gpoirier2005-04-301-1/+0
| | | | | | | Patch by Gianluigi Tiesi < mplayer & netfarm * it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15299 b3059339-0415-0410-9bf9-f77b7e298cf2
* revert one line of version 1.182 patch (caused use of already-freedrfelker2005-04-291-1/+1
| | | | | | | | | | memory and multiple double-free errors). i am fairly confident that all the relevant memory is now freed once and exactly once, but it's better than corrupting the heap in any case. 100l to reimar :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15298 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also '3g2a' can be used for 3GPP Profile 2rtognimp2005-04-281-0/+1
| | | | | | | Based on patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15287 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds a parameter to the switch_audio command to directly select a track.reimar2005-04-284-17/+40
| | | | | | | Patch by kiriuja mplayer-patches at en-directo net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for AAC; moved most of MSGL_V to MSGL_DBG2 to reduce verbositynicodvb2005-04-271-41/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15279 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrong framesize calculation for layers 1 and 2 with lsf setnicodvb2005-04-241-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15252 b3059339-0415-0410-9bf9-f77b7e298cf2
* use the documented default video device /dev/video0 instead of /dev/video ↵iive2005-04-231-1/+1
| | | | | | that is missing on most systems git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15247 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper fixrfelker2005-04-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15226 b3059339-0415-0410-9bf9-f77b7e298cf2
* undo dominik's 1000l cvs admin -o (recommitting bad patch)rfelker2005-04-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15225 b3059339-0415-0410-9bf9-f77b7e298cf2
* integer overflow when reading fps from h264 vui.lorenm2005-04-192-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MP3 detection (list of found MP3 headers was not kep sorted).reimar2005-04-181-2/+3
| | | | | | | Also remove code that only fixed the symptoms. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15216 b3059339-0415-0410-9bf9-f77b7e298cf2
* check the result of poll() before read()ing; 100lnicodvb2005-04-181-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15214 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not force real demuxer on x-pn-realaudio mimetypertognimp2005-04-171-1/+1
| | | | | | | | | Real and realaudio share the same mimetype, forcing real demuxer prevent realaudio files from being played. Fixes http://www.bbc.co.uk/romanian/rom.ra git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15210 b3059339-0415-0410-9bf9-f77b7e298cf2
* nico partially fixed the bug i reported; here's the rest of the fix.rfelker2005-04-171-0/+1
| | | | | | | | | | | | basically demux_audio was mixing data in its header buffer in a bogus manner, whereby it could sometimes "make up" valid mpeg headers where no such header actually occurred in the file. it should be correct now. btw these changes also fix the bug where mplayer reports huge initial cpu usage for sound when playing mp3 files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15206 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip framelen-4 bytes after having successfully detected an mpeg audio framenicodvb2005-04-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15205 b3059339-0415-0410-9bf9-f77b7e298cf2
* assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally ↵nicodvb2005-04-173-12/+25
| | | | | | assign layer and samples_per_frame when parsing mpa header git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15200 b3059339-0415-0410-9bf9-f77b7e298cf2
* added missing initializer in URLProtocolo; mux packets only if len > 0; ↵nicodvb2005-04-171-12/+14
| | | | | | second mencoder's a/v sync model git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15199 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use define instead of hardcodec value for max streams numberrtognimp2005-04-161-2/+3
| | | | | | | Pathc by Dominik 'Rathann' Mierzejewski git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15182 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply more closely with GPL §2a.diego2005-04-166-1/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15179 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential buffer overflow for urls with more than 20 streamsrtognimp2005-04-151-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15174 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential buffer overflow if server answers with too many linesrtognimp2005-04-151-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15173 b3059339-0415-0410-9bf9-f77b7e298cf2
* Online audio switching now supports Matroska too. Patch by Michael Behrischgpoirier2005-04-131-0/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15155 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make string_utf16 code behave almost the same with or without iconvrtognimp2005-04-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15151 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed :vaspect option to CONF_TYPE_FLOATnicodvb2005-04-101-8/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15084 b3059339-0415-0410-9bf9-f77b7e298cf2
* "Fix" for pnm EOF detection (stop on read errors)rtognimp2005-04-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15078 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stop streaming if we got a server error or message on pnm streaming.rtognimp2005-04-091-4/+8
| | | | | | | | This is needed to stop playback for pnm streams where mplayer can't authenticate, and avoid an endless list of "input pnm: read error". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15077 b3059339-0415-0410-9bf9-f77b7e298cf2
* set width, height and biCompression when the video stream contains avc1; ↵nicodvb2005-04-091-13/+65
| | | | | | reuse a private member rather than a in-stack packet[204]; set pes_es->is_synced =1 when au_start=1 (SL); update PMT when setting mp4es codec (SL); fix tss->is_synced assignment (don't forget the value when it was previously set) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15076 b3059339-0415-0410-9bf9-f77b7e298cf2
* assign picture->(width,height) when parsing h264nicodvb2005-04-091-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15074 b3059339-0415-0410-9bf9-f77b7e298cf2
* obvious gcc warning fix, approved by Nicorathann2005-04-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15068 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux ac3 by means of lavf by defaultnicodvb2005-04-071-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15062 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix gcc warnings, strlcat/strlcpy prototypesrathann2005-04-061-1/+5
| | | | | | | - fix bad sscanf usage in geometry.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix http://bugzilla.mplayerhq.hu/show_bug.cgi?id=260rathann2005-04-061-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15058 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support of audio stream switching in the MPEG demuxer using the #-keygpoirier2005-04-033-35/+52
| | | | | | | | Patch by Michael Behrisch < behrisch $ informatik * hu-berlin * de > commited with the kind blessing of D. Richard Felker III git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15047 b3059339-0415-0410-9bf9-f77b7e298cf2
* allocate and fill extradata field for video_avc (raw nal units, extradata ↵nicodvb2005-04-031-52/+149
| | | | | | contains sps+pps); fixed payload_size assignment for SL payloads git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15046 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for mpa layers 1 and 2nicodvb2005-04-021-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15040 b3059339-0415-0410-9bf9-f77b7e298cf2
* filename-based detection for h264 ESlorenm2005-04-011-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15036 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix alac from QTpro (in standard mov file, not in m4a file)rtognimp2005-03-301-0/+11
| | | | | | | | Extradata is in a different place fixes samples/A-codecs/lossless/ALAC/alac.mov git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15023 b3059339-0415-0410-9bf9-f77b7e298cf2
* various (de)muxer_lavf fixesmichael2005-03-252-4/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15012 b3059339-0415-0410-9bf9-f77b7e298cf2
* set i_bpsmichael2005-03-251-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15008 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l (dwSampleSize != nSamplesPerSec)michael2005-03-251-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15006 b3059339-0415-0410-9bf9-f77b7e298cf2
* discard streams we dont needmichael2005-03-251-4/+14