summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-23 17:16:54 +0200
committerwm4 <wm4@nowhere>2016-04-23 18:55:24 +0200
commit786f37ae1c77b46b34ed66b4a73c42ff64bfc9b8 (patch)
tree5e300caf595d8a0aa6796f578613bb28ea82caae /player/video.c
parentabb3f80998e46dad6e213b476a9de9796f21d9bf (diff)
downloadmpv-786f37ae1c77b46b34ed66b4a73c42ff64bfc9b8.tar.bz2
mpv-786f37ae1c77b46b34ed66b4a73c42ff64bfc9b8.tar.xz
player: cleaner determination of current playback PTS
In particular, this won't overwrite the playback PTS in coverart mode, which actually fixes relative seeks.
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 0af0b9065a..7610c120ea 100644
--- a/player/video.c
+++ b/player/video.c
@@ -1380,7 +1380,6 @@ void write_video(struct MPContext *mpctx)
mpctx->video_pts = mpctx->next_frames[0]->pts;
mpctx->last_vo_pts = mpctx->video_pts;
- mpctx->playback_pts = mpctx->video_pts;
shift_frames(mpctx);