summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r29544Uoti Urpala2009-08-221-6/+16
|\
| * 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
* | Merge svn changes up to r29532Uoti Urpala2009-08-1812-23/+59
|\|
| * 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
* | Merge svn changes up to r29455Uoti Urpala2009-07-295-8/+8
|\|
| * 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
* | Change libass type names to match upstream renamesUoti Urpala2009-07-291-1/+1
| |
* | Remove internal libass treeUoti Urpala2009-07-262-6/+2
| | | | | | | | | | Remove the libass/ directory and use the newest standalone version of the library instead.
* | Use own mp_*_taglists code instead of libavformat internalsUoti Urpala2009-07-264-15/+23
| | | | | | | | | | Use the version of code under ffmpeg_files/ instead of relying on libavformat source files to be available.
* | Replace libavutil internal header #includes with MPlayer copiesUoti Urpala2009-07-268-8/+8
| | | | | | | | | | | | Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/ instead.
* | demux_mkv.c: Make some time arithmetic more preciseUoti Urpala2009-07-101-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some calculations in the demuxer that are in principle integer arithmetic use float divisions instead of 64-bit integer ones (as in (int64_t)(x / 1000000.0) ). When compiled with -ffast-math gcc replaces the division with multiplication by inverse. The calculation of the inverse can introduce rounding error even for divisions that would have been exact, and any rounding error down from an exact integer result in the division makes the result after cast one smaller. This caused some inaccuracy in seeking due to timecodes in the index not quite matching those calculated for actual packets. Add 0.5 to such expressions before casting to round instead of truncating, which should be enough to avoid the problem. Also replace some non-performance-critical use of float types by doubles.
* | demux_mkv: Round more seeks to "backwards" keyframesUoti Urpala2009-07-091-1/+1
| | | | | | | | | | | | | | | | Allow more fuzziness in treating timestamps as inaccurate attempts to seek "exactly" to a keyframe. A seek forward can now actually go to a keyframe 5 ms back from the timecode, and correspondingly for seeks backwards. Before only 1 ms was allowed. This helps with some files that have inaccurate chapter boundaries.
* | demux_mkv: Make seeks more precise in some casesUoti Urpala2009-07-091-2/+2
| | | | | | | | | | | | | | When seeking backward, after seeking to the file position specified by an index entry skip packets until the timecode of that index entry. The existence of the entry should guarantee a keyframe there before the seek target time.
* | Merge svn changes up to r29412Uoti Urpala2009-07-0711-44/+53
|\|
| * 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
* | Remove trailing whitespace from most filesUoti Urpala2009-07-0761-1168/+1148
| |
* | Merge svn changes up to r29304Uoti Urpala2009-07-0764-146/+1210
|\|
| * 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
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-0723-153/+157
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-0723-152/+152
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | Merge svn changes up to r29277Uoti Urpala2009-05-082-3/+5
|\|
| * Add prototype for mp_a52_framesize().diego2009-05-051-0/+2
| | | | | | | | | | | | | | This fixes an implicit declaration warning when liba52 is disabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29264 b3059339-0415-0410-9bf9-f77b7e298cf2
| * libavformat is now the default for mov, update extension.c to match this.reimar2009-04-151-3/+3
| | | | | | | | | | | | | | | | Fixes direct playback of e.g. http://accent.gmu.edu/soundtracks/japanese7.mov which was played by the native demuxer (and that one is broken for it). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29181 b3059339-0415-0410-9bf9-f77b7e298cf2
* | demux_lavf: Make absolute seek time 0-based instead of file startUoti Urpala2009-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | demux_lavf interpreted absolute seeks as relative to the start of the file, so if the file didn't start at timestamp 0 then seeking to timestamp X went to a position MPlayer would display as start+X. Make the seeks use the same timestamps as used in the original file. This works better for most use cases as no part of MPlayer normally uses or displays such "since start of file" timestamp values. There could be some cases where the old semantics are useful, but I think they do not justify making it the default behavior; a separate feature for that could be added if it turns out to be needed.
* | stheader.h: Allow inclusion before demuxer.hUoti Urpala2009-04-191-4/+5
| | | | | | | | | | | | stheader.h used 'demuxer_t *' without including demuxer.h, causing compilation to fail if demuxer.h had not been included first. Use 'struct demuxer *' instead so the type does not need to be defined.
* | Merge branch 'ordered_chapters'Uoti Urpala2009-04-086-253/+281