diff options
author | wm4 <wm4@nowhere> | 2014-08-25 21:28:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-25 21:39:24 +0200 |
commit | f104ef12827278c5620b57a34d066b333bbdfa32 (patch) | |
tree | cbdffdf6c6a265b49c18130546f34578f06e471f /player/core.h | |
parent | f4ccf22e1695e89fb6fcf97f92fc492a2bdc5b97 (diff) | |
download | mpv-f104ef12827278c5620b57a34d066b333bbdfa32.tar.bz2 mpv-f104ef12827278c5620b57a34d066b333bbdfa32.tar.xz |
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.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 5 |
1 files changed, 2 insertions, 3 deletions
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; |