diff libmpcodecs/vf_vo.c @ 21161:ad7747bce52d

Make compilation depending on USE_OSD unconditional. USE_OSD was hardcoded to true in configure, manually turning it off would break compilation, and most OSD-related code wasn't affected by it anyway so it did nothing useful.
author uau
date Wed, 22 Nov 2006 19:21:16 +0000
parents c0bcec5150a3
children c37fae0e2b5a
line wrap: on
line diff
--- a/libmpcodecs/vf_vo.c	Wed Nov 22 19:19:47 2006 +0000
+++ b/libmpcodecs/vf_vo.c	Wed Nov 22 19:21:16 2006 +0000
@@ -88,12 +88,10 @@
         return(video_out->control(VOCTRL_SET_DEINTERLACE, data)
                 == VO_TRUE) ? CONTROL_TRUE : CONTROL_FALSE;
     }
-#ifdef USE_OSD
     case VFCTRL_DRAW_OSD:
 	if(!vo_config_count) return CONTROL_FALSE; // vo not configured?
 	video_out->draw_osd();
 	return CONTROL_TRUE;
-#endif
     case VFCTRL_FLIP_PAGE:
     {
 	if(!vo_config_count) return CONTROL_FALSE; // vo not configured?