changeset 23135:960434b7d963

Do not set VFCAP_EOSD_UNSCALED if we use scaled-osd
author reimar
date Fri, 27 Apr 2007 16:10:45 +0000
parents 1de2a46a0987
children 7753555efb15
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Fri Apr 27 14:25:36 2007 +0000
+++ b/libvo/vo_gl.c	Fri Apr 27 16:10:45 2007 +0000
@@ -792,7 +792,7 @@
                VFCAP_FLIP |
                VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_ACCEPT_STRIDE;
     if (use_osd)
-      caps |= VFCAP_OSD | VFCAP_EOSD | VFCAP_EOSD_UNSCALED;
+      caps |= VFCAP_OSD | VFCAP_EOSD | (scaled_osd ? 0 : VFCAP_EOSD_UNSCALED);
     if ((format == IMGFMT_RGB24) || (format == IMGFMT_RGBA))
         return caps;
     if (use_yuv && format == IMGFMT_YV12)