summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-14 21:42:55 +0100
committerwm4 <wm4@nowhere>2015-11-14 21:42:55 +0100
commit542d88472f3e9ec8131d3470dfd02fd1cc36f3bd (patch)
treef401aee076e988d07c50ff950e32b4f780b0a50b
parent9f43778eb2305fed7b627a2b9947b7ac3bdca63a (diff)
downloadmpv-542d88472f3e9ec8131d3470dfd02fd1cc36f3bd.tar.bz2
mpv-542d88472f3e9ec8131d3470dfd02fd1cc36f3bd.tar.xz
player: remove unused field
-rw-r--r--player/core.h1
-rw-r--r--player/loadfile.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h
index c46147679f..4303daa78a 100644
--- a/player/core.h
+++ b/player/core.h
@@ -269,7 +269,6 @@ typedef struct MPContext {
// update_playback_speed() updates them from the other fields.
double audio_speed, video_speed;
bool display_sync_active;
- bool broken_fps_header;
int display_sync_drift_dir;
// Timing error (in seconds) due to rounding on vsync boundaries
double display_sync_error;
diff --git a/player/loadfile.c b/player/loadfile.c
index d72f13da61..3007ef4f8e 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1035,7 +1035,6 @@ static void play_current_file(struct MPContext *mpctx)
mpctx->video_speed = mpctx->audio_speed = opts->playback_speed;
mpctx->speed_factor_a = mpctx->speed_factor_v = 1.0;
mpctx->display_sync_error = 0.0;
- mpctx->broken_fps_header = false;
mpctx->display_sync_active = false;
mpctx->seek = (struct seek_params){ 0 };