player: remove unused field

This commit is contained in:
wm4 2015-11-14 21:42:55 +01:00
parent 9f43778eb2
commit 542d88472f
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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 };