summaryrefslogtreecommitdiffstats
path: root/player/core.h
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/core.h
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/core.h')
-rw-r--r--player/core.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/player/core.h b/player/core.h
index 5a81a7288a..5355f720e0 100644
--- a/player/core.h
+++ b/player/core.h
@@ -255,16 +255,11 @@ typedef struct MPContext {
// AV sync: the next frame should be shown when the audio out has this
// much (in seconds) buffered data left. Increased when more data is
// written to the ao, decreased when moving to the next frame.
- // In the audio-only case used as a timer since the last seek
- // by the audio CPU usage meter.
double delay;
// AV sync: time until next frame should be shown
double time_frame;
// Optional/additional AV sync compensation if video is too slow.
double insert_silence;
- // Set to true some time after a new frame has been shown, and it turns out
- // that this frame was the last one before video ends.
- bool playing_last_frame;
// How much video timing has been changed to make it match the audio
// timeline. Used for status line information only.
double total_avsync_change;
@@ -277,9 +272,6 @@ typedef struct MPContext {
// the same value if the status line is updated at a time where no new
// video frame is shown.
double last_av_difference;
- /* Timestamp of the latest image that was queued on the VO, but not yet
- * to be flipped. */
- double video_next_pts;
/* timestamp of video frame currently visible on screen
* (or at least queued to be flipped by VO) */
double video_pts;