summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-10 18:33:43 +0200
committerwm4 <wm4@nowhere>2013-09-16 13:45:33 +0200
commit2f165ee12ba2ebd64cb11224563faa08ecb83e17 (patch)
tree30d197e666c618a3901e5ab16cfd7581418dd13e /video/out/vo.h
parent6da11789ae51652445760369e1d61299fdbb81d8 (diff)
downloadmpv-2f165ee12ba2ebd64cb11224563faa08ecb83e17.tar.bz2
mpv-2f165ee12ba2ebd64cb11224563faa08ecb83e17.tar.xz
gl_common: signal to GL backend whether we are probing
This is supposed to reduce the amount of useless error messages shown during initialization of vo_opengl. If multiple backends are compiled, usually only one of them will work. For example, on Linux both X and Wayland backends can be compiled, but usually either Wayland or X is running. Then, if Wayland is not running, but X is, trying to initialize the Wayland backend should not spam the terminal with error messages. Signed-off-by: Andreas Sinz <andreas.sinz@aon.at>
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 8bb1bd5617..50e83d2809 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -239,6 +239,8 @@ struct vo {
int config_ok; // Last config call was successful?
int config_count; // Total number of successful config calls
+ bool probing;
+
bool untimed; // non-interactive, don't do sleep calls in playloop
bool frame_loaded; // Is there a next frame the VO could flip to?