1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/libmpdemux
nicodvb 25918a8b31 set has_valid_timestamps and corresponding first and final pts only after
having checked that at the beginning, at the middle and at the end of the
stream timestamps don't reset and that they seem to progress (almost-) linearly;
additionally probe those timestamps only when the stream type is file and it's seekable,
so all other stream types (especially network ones) won't waste time trying to seek
and possibly slowing down detection.
Seeking is not negatively affected by these changes.
Patch by Christian Aistleitner (zaek7q gmx net) reworked by me.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22039 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 10:45:34 +00:00
..
asf.h Hack around libavutil/bswap.h compilation problems due to always_inline undefined. 2006-12-07 11:58:07 +00:00
asfheader.c Sanity-check sh_video->bih->biSize 2007-01-21 18:22:07 +00:00
aviheader.c Sanity-check sh_video->bih->biSize 2007-01-21 18:22:07 +00:00
aviheader.h Get rid of min/max macros from aviheader.h, they do not belong here. 2006-12-09 12:24:11 +00:00
aviprint.c
demux_aac.c Remove superfluous bswap.h include. 2006-12-02 12:32:44 +00:00
demux_asf.c Instead of printing a useless "sig11 coming soon" message, just abort parsing 2007-01-21 18:29:18 +00:00
demux_audio.c doxify a comment 2006-12-18 15:15:21 +00:00
demux_avi.c 100l confused FFMIN/FFMAX 2006-12-01 19:43:36 +00:00
demux_avs.c
demux_avs.h
demux_demuxers.c Fix demux_demuxers seeking if the video demuxer does not set 2006-10-05 21:28:55 +00:00
demux_film.c
demux_fli.c
demux_gif.c Hack: use refmode == 1 instead of == 0, as browsers behave like this 2007-01-28 10:34:11 +00:00
demux_lavf.c Remove ff_gcd prototype and include avutil.h instead where it is defined. 2007-01-25 10:49:43 +00:00
demux_lmlm4.c Remove superfluous bswap.h include. 2006-12-02 12:32:44 +00:00
demux_mf.c Avoid division by zero DEMUXER_CTRL_GET_PERCENT_POS with only one frame by just 2006-09-11 19:01:20 +00:00
demux_mkv.c Simplify and make lzo decompression code more similar to zlib one. 2007-01-27 14:54:45 +00:00
demux_mov.c Subtitle handling cleanup: factor out code for parsing embedded subtitles 2007-01-06 19:07:58 +00:00
demux_mpc.c Hack around libavutil/bswap.h compilation problems due to always_inline undefined. 2006-12-07 11:58:07 +00:00
demux_mpg.c set has_valid_timestamps and corresponding first and final pts only after 2007-01-28 10:45:34 +00:00
demux_nsv.c Cleanup/simplify nsv check_file function. 2006-10-28 11:01:18 +00:00
demux_nut.c Sync to libnut, nom->num 2006-12-23 12:34:31 +00:00
demux_nuv.c
demux_ogg.c Simplify demux_ogg to use the sub_clear_text and sub_add_text functions. 2007-01-06 19:19:15 +00:00
demux_pva.c Remove superfluous bswap.h include. 2006-12-02 12:32:44 +00:00
demux_rawaudio.c
demux_rawdv.c add two missing checks - PATCH by Karolina Lindqvist AT kramnet-se 2006-10-25 20:39:01 +00:00
demux_rawvideo.c
demux_real.c Call real_fix_timestamp() after seeking, to avoid video freezing 2007-01-27 22:34:27 +00:00
demux_realaud.c Use interleaver id to select the correct interleaver instead of guessing 2007-01-24 15:05:42 +00:00
demux_roq.c
demux_rtp_codec.cpp better autodetection of framerate in case of h264; it works correctly with b-frames. 2007-01-23 22:26:13 +00:00
demux_rtp_internal.h
demux_rtp.cpp
demux_rtp.h
demux_smjpeg.c Remove superfluous bswap.h include. 2006-12-02 12:32:44 +00:00
demux_ts.c unified creation of sh_audio and sh_video is ts_add_stream; patch by elupus 2007-01-17 00:12:35 +00:00
demux_ty_osd.c
demux_ty.c Fix misdetection of http://samples.mplayerhq.hu/tta/tivo_misdetect.tta as TiVo file 2006-10-10 19:21:33 +00:00
demux_viv.c Remove superfluous bswap.h include. 2006-12-02 12:32:44 +00:00
demux_vqf.c Get rid of min/max macros from aviheader.h, they do not belong here. 2006-12-09 12:24:11 +00:00
demux_xmms_plugin.h
demux_xmms.c
demux_y4m.c Remove superfluous bswap.h include. 2006-12-02 12:32:44 +00:00
demuxer.c Make ds_get_next_pts return MP_NOPTS_VALUE instead of -1 on error, 2007-01-05 15:24:38 +00:00
demuxer.h added stream_pts to demuxer_t and demux_packet_t to hold the time value reported by the stream layer 2006-12-31 11:05:26 +00:00
ebml.c Hack around libavutil/bswap.h compilation problems due to always_inline undefined. 2006-12-07 11:58:07 +00:00
ebml.h Add matroska v2 (SimpleBlock) support. 2006-09-25 21:17:43 +00:00
extension.c WavPack files contain a complete, valid RIFF tag, so use extension (.wv) 2006-10-08 12:19:08 +00:00
genres.h
Makefile Discard -Wdeclaration-after-statement warning. 2007-01-21 23:21:50 +00:00
matroska.h Generalize subtitle switching, demux_ogg does not need a special case 2006-11-19 14:23:54 +00:00
mf.c
mf.h
mp3_hdr.c
mp3_hdr.h
mpeg_hdr.c in h264_parse_sps() reuse mp_unescape03() 2007-01-20 13:46:17 +00:00
mpeg_hdr.h added function to parse vc1 sequence header 2007-01-20 12:04:20 +00:00
mpeg_packetizer.c Fixes 2006-10-08 22:43:29 +00:00
mpeg_packetizer.h
ms_hdr.h
muxer_avi.c dont write an index and dont use memory to build one if -noidx is specified 2007-01-08 16:23:31 +00:00
muxer_lavf.c Simplify by using av_codec_get_id and include riff.h only in demux_lavf.c 2007-01-21 15:44:58 +00:00
muxer_mpeg.c muxers now write to output muxer->stream rather than to muxer->file 2006-12-18 21:03:59 +00:00
muxer_rawaudio.c muxers now write to output muxer->stream rather than to muxer->file 2006-12-18 21:03:59 +00:00
muxer_rawvideo.c muxers now write to output muxer->stream rather than to muxer->file 2006-12-18 21:03:59 +00:00
muxer.c muxers now write to output muxer->stream rather than to muxer->file 2006-12-18 21:03:59 +00:00
muxer.h support -ffourcc with -of lavf 2007-01-21 10:10:07 +00:00
nuppelvideo.h Use av_int2dbl to read doubles instead of our somewhat broken le2me_dbl 2006-11-28 19:01:04 +00:00
parse_es.c
parse_es.h
parse_mp4.c
parse_mp4.h
qtpalette.h
stheader.h Reorganize code to move more things out of main(). 2006-11-20 09:12:07 +00:00
video.c vc1 probing code: if sh_video->bih can't be callocated exit 2007-01-20 13:14:09 +00:00
yuv4mpeg_intern.h
yuv4mpeg_ratio.c
yuv4mpeg.c
yuv4mpeg.h