mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 02:41:13 +00:00
demux_nsv: don't write to sh_video->pts
This commit is contained in:
parent
b6b3f5ed09
commit
1a336d6616
@ -95,7 +95,7 @@ static int demux_nsv_fill_buffer ( demuxer_t *demuxer, demux_stream_t *ds )
|
||||
}
|
||||
|
||||
if (sh_video)
|
||||
sh_video->pts = priv->v_pts =demuxer->video->pts= priv->video_pack_no *
|
||||
priv->v_pts =demuxer->video->pts= priv->video_pack_no *
|
||||
(float)sh_video->frametime;
|
||||
else
|
||||
priv->v_pts = priv->video_pack_no;
|
||||
|
Loading…
Reference in New Issue
Block a user