summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index b86d1ce661..8c6ddae3ea 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -462,7 +462,9 @@ int vo_x11_init(struct vo *vo)
x11->display = XOpenDisplay(dispName);
if (!x11->display) {
- MP_ERR(x11, "couldn't open the X11 display (%s)!\n", dispName);
+ MP_MSG(x11, vo->probing ? MSGL_V : MSGL_ERR,
+ "vo: couldn't open the X11 display (%s)!\n", dispName);
+
talloc_free(x11);
vo->x11 = NULL;
return 0;