summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-15 18:59:52 +0200
committerwm4 <wm4@nowhere>2013-06-15 18:59:52 +0200
commit70f97efa720ee2366cb6c1eeefb211c11fd88a63 (patch)
tree1adae86b1f4f0c3ebf0e49f5e891f8197083c28f /video/out
parent73b9b0b830b49d243a9b959fc5a8dc0351968f0c (diff)
downloadmpv-70f97efa720ee2366cb6c1eeefb211c11fd88a63.tar.bz2
mpv-70f97efa720ee2366cb6c1eeefb211c11fd88a63.tar.xz
vo: define VO_TRUE/FALSE to C99 constants
This make the intention more apparent, and some VOs are actually using true instead of VO_TRUE in some places. Hopefully this changes makes it less confusing (instead of more). The C99 constants true/false are defined to 1/0 as well, so this commit doesn't actually change anything.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index c1ab0eff8b..2ac993923d 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -110,8 +110,8 @@ struct voctrl_screenshot_args {
bool has_osd;
};
-#define VO_TRUE 1
-#define VO_FALSE 0
+#define VO_TRUE true
+#define VO_FALSE false
#define VO_ERROR -1
#define VO_NOTAVAIL -2
#define VO_NOTIMPL -3