diff options
author | wm4 <wm4@nowhere> | 2013-11-26 23:41:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-26 23:43:56 +0100 |
commit | 7a0299478e169ea076fe57028fda1ef7292a5431 (patch) | |
tree | 56942e2b844c08d507be009535446c92831a588d /mpvcore/player | |
parent | f1eb30a476fa92840d1cdfcdcc13db9e59ad09a6 (diff) | |
download | mpv-7a0299478e169ea076fe57028fda1ef7292a5431.tar.bz2 mpv-7a0299478e169ea076fe57028fda1ef7292a5431.tar.xz |
video: unbreak --no-correct-pts with demuxers that use DTS
Diffstat (limited to 'mpvcore/player')
-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; |