[MPlayer-dev-eng] Bad image after seeking ASF/WMV files since SVN-r30420
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Jan 26 22:10:44 CET 2010
On Tue, Jan 26, 2010 at 09:49:37AM +0800, william0wang wrote:
> SVN-r30420 has moved the resync-related code, it cause bad image after
> seeking ASF/WMV files.
>
> static void demux_resync(demuxer_t *demuxer)
> {
> ...
> if (sh_video) {
> ds_fill_buffer(demuxer->video);
> resync_video_stream(sh_video);
> }
> ...
> }
>
> Use 'ds_fill_buffer' before 'resync_video_stream' may be the reason.
Yes it is, that was one of the suspicious cases, the ds_fill_buffer
calls were only there for the chapter etc. seeks, but not the normal
seek.
I removed them, maybe we'll get a bug report soon telling us what their
purpose was...
More information about the MPlayer-dev-eng
mailing list