1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00

demux_nsv: don't write to sh_video->pts

This commit is contained in:
Uoti Urpala 2010-11-13 15:32:42 +02:00
parent b6b3f5ed09
commit 1a336d6616

View File

@ -95,7 +95,7 @@ static int demux_nsv_fill_buffer ( demuxer_t *demuxer, demux_stream_t *ds )
} }
if (sh_video) 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; (float)sh_video->frametime;
else else
priv->v_pts = priv->video_pack_no; priv->v_pts = priv->video_pack_no;