[MPlayer-dev-eng] [PATCH] fix seeking in dvr-ms
johnfdonaghy at gmail.com
Thu Jan 1 19:32:04 CET 2009
This patch make seeking work in dvr-ms files for the native asf demuxer. The
reason it doesn't currently work is that the max bitrate (as read from the
asf file header) is wrong in dvr-ms files. Instead I'm using the bitrate for
the video stream as read from the extended stream properties present in a
I'm also resetting some asf specific values after the seek to ensure
playback continues correctly (these counters etc. are things that were added
in my original dvr-ms patch from a couple of years ago).
I'm also adding a line to correctly set the value of "asf->num_packets" in
case it is useful for something later.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1628 bytes
Desc: not available
More information about the MPlayer-dev-eng