diff options
Diffstat (limited to 'mpvcore')
-rw-r--r-- | mpvcore/player/playloop.c | 2 | ||||
-rw-r--r-- | mpvcore/player/video.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/player/playloop.c b/mpvcore/player/playloop.c index 56b2bc0bc5..73c751652c 100644 --- a/mpvcore/player/playloop.c +++ b/mpvcore/player/playloop.c @@ -176,7 +176,7 @@ static void seek_reset(struct MPContext *mpctx, bool reset_ao) vf_chain_seek_reset(mpctx->d_video->vfilter); mpctx->d_video->num_buffered_pts = 0; mpctx->d_video->last_pts = MP_NOPTS_VALUE; - mpctx->d_video->last_packet_pts = MP_NOPTS_VALUE; + mpctx->d_video->last_packet_pdts = MP_NOPTS_VALUE; mpctx->d_video->pts = MP_NOPTS_VALUE; mpctx->video_pts = MP_NOPTS_VALUE; mpctx->delay = 0; diff --git a/mpvcore/player/video.c b/mpvcore/player/video.c index 429e141ab9..65343cfa58 100644 --- a/mpvcore/player/video.c +++ b/mpvcore/player/video.c @@ -119,7 +119,7 @@ int reinit_video_chain(struct MPContext *mpctx) struct dec_video *d_video = talloc_zero(NULL, struct dec_video); mpctx->d_video = d_video; d_video->last_pts = MP_NOPTS_VALUE; - d_video->last_packet_pts = MP_NOPTS_VALUE; + d_video->last_packet_pdts = MP_NOPTS_VALUE; d_video->opts = mpctx->opts; d_video->header = sh; d_video->fps = sh->video->fps; |