summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-14 12:59:05 +0100
committerwm4 <wm4@nowhere>2013-01-13 20:04:10 +0100
commitb7cacf9165290067b66b160b108790b89c080a3e (patch)
tree1888a01e5be359eb91531305e2427509722fa7a9 /video/out/vo.h
parent1f32250629c990859b0f6a7d70bcbe3bd2d6afae (diff)
downloadmpv-b7cacf9165290067b66b160b108790b89c080a3e.tar.bz2
mpv-b7cacf9165290067b66b160b108790b89c080a3e.tar.xz
video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc
VFCAP_TIMER disables any additional waiting done by mpv in the playloop. Remove VFCAP_TIMER, but re-use the idea for vo_image and vo_lavc. This means --untimed doesn't have to be passed when using --vo=image.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index e883293326..6ea2f930e8 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -228,6 +228,8 @@ struct vo {
int config_count; // Total number of successful config calls
int default_caps; // query_format() result for configured video format
+ bool untimed; // non-interactive, don't do sleep calls in playloop
+
bool frame_loaded; // Is there a next frame the VO could flip to?
struct mp_image *waiting_mpi;
double next_pts; // pts value of the next frame if any