aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--video/out/vo_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index 13b22d1bfb..a27fb9b213 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -226,7 +226,7 @@ static bool resize(struct vo *vo)
for (int i = 0; i < 2; i++) {
if (!getMyXImage(p, i))
- return -1;
+ return false;
}
const struct fmt_entry *fmte = mp_to_x_fmt;
@@ -241,7 +241,7 @@ static bool resize(struct vo *vo)
}
if (!fmte->mpfmt) {
MP_ERR(vo, "X server image format not supported, use another VO.\n");
- return -1;
+ return false;
}
mp_sws_set_from_cmdline(p->sws, vo->global);