summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-11 12:29:14 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-11 12:29:14 +0200
commit3283ba0ccbd010a348abde94e894d746d7bf32e4 (patch)
tree0630d1654c244ab3a0e4de801929d0f977fd66c5 /mp_core.h
parent523a48d8a9f5168f266b271353c658d253798013 (diff)
downloadmpv-3283ba0ccbd010a348abde94e894d746d7bf32e4.tar.bz2
mpv-3283ba0ccbd010a348abde94e894d746d7bf32e4.tar.xz
core: rename update_video_immediately->restart_playback
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp_core.h b/mp_core.h
index b6e0007743..ed90f4377b 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -122,9 +122,9 @@ typedef struct MPContext {
mixer_t mixer;
struct vo *video_out;
- // Show a video frame as quickly as possible without trying to adjust
- // for AV sync. Used when starting a file or after seeking.
- bool update_video_immediately;
+ /* We're starting playback from scratch or after a seek. Show first
+ * video frame immediately and reinitialize sync. */
+ bool restart_playback;
// 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.