From 7a0299478e169ea076fe57028fda1ef7292a5431 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 26 Nov 2013 23:41:20 +0100 Subject: video: unbreak --no-correct-pts with demuxers that use DTS --- mpvcore/player/playloop.c | 2 +- mpvcore/player/video.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mpvcore') 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; -- cgit v1.2.3