From 11bfc67802d4f5bd2a6dadf73fd7e89107ccc3ae Mon Sep 17 00:00:00 2001 From: mosu Date: Thu, 9 Jun 2005 07:45:17 +0000 Subject: [PATCH] demux_stream_t.pts should not be assigned by the demuxer. Fixes playback of VFR files. Patch by Sam Dennis git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15702 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mkv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c index bf97e3a414..77454553ab 100644 --- a/libmpdemux/demux_mkv.c +++ b/libmpdemux/demux_mkv.c @@ -2938,7 +2938,7 @@ handle_block (demuxer_t *demuxer, uint8_t *block, uint64_t length, if (use_this_block) { - mkv_d->last_pts = ds->pts = current_pts; + mkv_d->last_pts = current_pts; mkv_d->last_filepos = demuxer->filepos; for (i=0; i < laces; i++)