From f104ef12827278c5620b57a34d066b333bbdfa32 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Aug 2014 21:28:56 +0200 Subject: player: minor changes This shouldn't change anything functionally. Change the A/V desync message. --framedrop is enabled by default now, so the text must be changed a little. I've never heard of audio outputs messing up A/V sync recently, so remove that part. Remove the unused ao_pts field. Reorder 2 A/V sync related expressions so that they look the same. --- player/core.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 800b9bf90a..fb335851d9 100644 --- a/player/core.h +++ b/player/core.h @@ -235,7 +235,6 @@ typedef struct MPContext { struct mixer *mixer; struct ao *ao; - double ao_pts; struct mp_audio *ao_decoder_fmt; // for weak gapless audio check struct mp_audio_buffer *ao_buffer; // queued audio; passed to ao_play() later @@ -253,9 +252,9 @@ typedef struct MPContext { double hrseek_pts; // 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. + // written to the ao, decreased when moving to the next video frame. double delay; - // AV sync: time until next frame should be shown + // AV sync: time in seconds until next frame should be shown double time_frame; // Optional/additional AV sync compensation if video is too slow. double insert_silence; -- cgit v1.2.3