summaryrefslogtreecommitdiffstats
path: root/libvo/vo_caca.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_caca.c')
-rw-r--r--libvo/vo_caca.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libvo/vo_caca.c b/libvo/vo_caca.c
index 74342f6cb1..86c46fa7e7 100644
--- a/libvo/vo_caca.c
+++ b/libvo/vo_caca.c
@@ -284,12 +284,10 @@ static void uninit(void)
static void draw_osd(void)
{
-#ifdef USE_OSD
if (vo_osd_progbar_type != -1)
osdpercent(MESSAGE_DURATION, 0, 255,
vo_osd_progbar_value, __sub_osd_names[vo_osd_progbar_type],
"");
-#endif
}
static int preinit(const char *arg)
@@ -318,11 +316,7 @@ static int preinit(const char *arg)
static int query_format(uint32_t format)
{
if (format == IMGFMT_BGR24)
- return
-#ifdef USE_OSD
- VFCAP_OSD |
-#endif
- VFCAP_CSP_SUPPORTED;
+ return VFCAP_OSD | VFCAP_CSP_SUPPORTED;
return 0;
}