[MPlayer-cvslog] r22634 - trunk/libmpdemux/demux_mkv.c

Guillaume Poirier gpoirier at mplayerhq.hu
Fri Mar 16 16:06:51 CET 2007


uau wrote:
> Author: uau
> Date: Fri Mar 16 15:55:41 2007
> New Revision: 22634
> 
> Modified:
>    trunk/libmpdemux/demux_mkv.c
> 
> Log:
> 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.

grep "demux_mkv.c" DOCS/tech/MAINTAINERS
    * demux_mkv.c - Moritz Bunkus

DOCS/tech/svn-howto.txt reads:
9. Do NOT commit to code actively maintained by others without
permission. Send a patch to mplayer-dev-eng instead.


Though Moritz isn't active in writing code, he does review patches
pointed out to him.
Has Moritz approved this patch?

Guillaume



More information about the MPlayer-cvslog mailing list