summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2010-01-17 21:04:26 +0000
committerphintuka <phintuka>2010-01-17 21:04:26 +0000
commit2b2013b6093de5604f25d3d96284535bf665c4d3 (patch)
treeab63b889325e0789e11835a8cfc28937f45140cc
parent0c34a2772ded073b01f5a1ab9f70cbb9c3086b7b (diff)
downloadxineliboutput-2b2013b6093de5604f25d3d96284535bf665c4d3.tar.gz
xineliboutput-2b2013b6093de5604f25d3d96284535bf665c4d3.tar.bz2
Convert masks to bool
-rw-r--r--xine/vo_osdscaler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xine/vo_osdscaler.c b/xine/vo_osdscaler.c
index d9562d9e..ee29a7da 100644
--- a/xine/vo_osdscaler.c
+++ b/xine/vo_osdscaler.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: vo_osdscaler.c,v 1.4 2009-05-27 08:37:06 phintuka Exp $
+ * $Id: vo_osdscaler.c,v 1.5 2010-01-17 21:04:26 phintuka Exp $
*
*/
@@ -204,11 +204,11 @@ static void osdscaler_overlay_begin (vo_driver_t *self, vo_frame_t *frame, int c
LOGOSD("osdscaler_overlay_begin: changed = 1");
osd_data_clear(this->active_osds);
this->active_osds = NULL;
- this->unscaled_supported = (vo_def_get_capabilities(self) & VO_CAP_UNSCALED_OVERLAY);
+ this->unscaled_supported = !!(vo_def_get_capabilities(self) & VO_CAP_UNSCALED_OVERLAY);
/* VO_CAP_OSDSCALING == VO_CAP_CUSTOM_EXTENT_OVERLAY */
- this->custom_extent_supported = (vo_def_get_capabilities(self) & VO_CAP_OSDSCALING);
+ this->custom_extent_supported = !!(vo_def_get_capabilities(self) & VO_CAP_OSDSCALING);
/* VO_CAP_ARGB == VO_CAP_ARGB_LAYER_OVERLAY */
- this->argb_supported = (vo_def_get_capabilities(self) & VO_CAP_ARGB);
+ this->argb_supported = !!(vo_def_get_capabilities(self) & VO_CAP_ARGB);
}
/* redirect */