summaryrefslogtreecommitdiffstats
path: root/video/out/vo_image.c
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_image.c
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_image.c')
-rw-r--r--video/out/vo_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_image.c b/video/out/vo_image.c
index 12bd18862a..2c9c6f3acf 100644
--- a/video/out/vo_image.c
+++ b/video/out/vo_image.c
@@ -137,6 +137,7 @@ static void uninit(struct vo *vo)
static int preinit(struct vo *vo, const char *arg)
{
+ vo->untimed = true;
return 0;
}