1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/libmpdemux
uau 8b59dd4d83 Matroska seeking fixes
If a relative seek forward went past the last index position the
Matroska demuxer did not seek to any index position. It did however set
the mkv_d->skip_to_timecode variable which meant that the next
fill_buffer() call would read from the current position until the target
position (probably the end of the file). Fix this by changing the code
to seek to the last index position if that is between the current and
target positions.

Also change backwards relative seek to accept an exactly matching index
position (<= vs <) and reorganize the seeking conditionals to allow
making the above change without turning the code into a complete mess.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22634 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-16 14:55:41 +00:00
..
asf.h Replace MIN with FFMIN 2007-03-01 12:54:38 +00:00
asfheader.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
aviheader.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
aviheader.h
aviprint.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_aac.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_asf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_audio.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_avi.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_avs.c Use explicit path for headers from the loader/ directory. 2007-03-15 22:34:45 +00:00
demux_avs.h
demux_demuxers.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_film.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_fli.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_gif.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_lavf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_lmlm4.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_mf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_mkv.c Matroska seeking fixes 2007-03-16 14:55:41 +00:00
demux_mov.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_mpc.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_mpg.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_nsv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_nut.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_nuv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_ogg.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_pva.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rawaudio.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rawdv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rawvideo.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_real.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_realaud.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_roq.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rtp_codec.cpp support for AMR; it works inserting in the first byte of the demux_packet 2007-03-06 22:53:52 +00:00
demux_rtp_internal.h Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rtp.cpp cosmetics: renamed variable amr as headersize, more meaningful; patch by Carl Eugen Hoyos 2007-03-12 22:13:48 +00:00
demux_rtp.h Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_smjpeg.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_ts.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_ty_osd.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_ty.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_viv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_vqf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_xmms_plugin.h
demux_xmms.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_y4m.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demuxer.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demuxer.h Another round of subtitle code cleanup 2007-02-05 18:25:28 +00:00
ebml.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
ebml.h
extension.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
genres.h
Makefile Use explicit path for headers from the loader/ directory. 2007-03-15 22:34:45 +00:00
matroska.h
mf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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
mpeg_packetizer.h
ms_hdr.h
muxer_avi.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer_lavf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer_mpeg.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer_rawaudio.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer_rawvideo.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer.h support -ffourcc with -of lavf 2007-01-21 10:10:07 +00:00
nuppelvideo.h
parse_es.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
parse_es.h
parse_mp4.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
parse_mp4.h
qtpalette.h
stheader.h Move the sh_audio->delay field to mpctx->delay. 2007-03-11 06:16:14 +00:00
video.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
yuv4mpeg_intern.h
yuv4mpeg_ratio.c
yuv4mpeg.c
yuv4mpeg.h Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00