mirror of https://github.com/mpv-player/mpv
demux_stream_t.pts should not be assigned by the demuxer. Fixes playback of VFR files. Patch by Sam Dennis <sam () malfunction ! screaming ! net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15702 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f63c25dba2
commit
11bfc67802
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue