diff options
Diffstat (limited to 'xine/vo_osdscaler.c')
-rw-r--r-- | xine/vo_osdscaler.c | 8 |
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 */ |