summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-22 14:20:00 +0200
committerwm4 <wm4@nowhere>2014-08-22 14:22:06 +0200
commit5afc025cc9c79fdee0a0aa7453971656f67ed918 (patch)
tree71e7a502f59799a93e836725b6c68644d8f88690 /player/playloop.c
parent7b3a889c92a1c4fd768d334fe84a84fa7a4e5149 (diff)
downloadmpv-5afc025cc9c79fdee0a0aa7453971656f67ed918.tar.bz2
mpv-5afc025cc9c79fdee0a0aa7453971656f67ed918.tar.xz
video: get rid of video_next_pts field
Not really needed anymore. Code should be mostly equivalent. Also get rid of some other now-unused or outdated things.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/player/playloop.c b/player/playloop.c
index f7f92a2eda..50494809e3 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -253,10 +253,8 @@ static int mp_seek(MPContext *mpctx, struct seek_params seek,
/* Use the target time as "current position" for further relative
* seeks etc until a new video frame has been decoded */
- if (seek.type == MPSEEK_ABSOLUTE) {
- mpctx->video_pts = seek.amount;
+ if (seek.type == MPSEEK_ABSOLUTE)
mpctx->last_seek_pts = seek.amount;
- }
// The hr_seek==false case is for skipping frames with PTS before the
// current timeline chapter start. It's not really known where the demuxer