1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00

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.
This commit is contained in:
wm4 2013-06-15 18:59:52 +02:00
parent 73b9b0b830
commit 70f97efa72

View File

@ -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