[MPlayer-cvslog] r23153 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Fri Apr 27 18:10:45 CEST 2007


Author: reimar
Date: Fri Apr 27 18:10:45 2007
New Revision: 23153

Log:
Do not set VFCAP_EOSD_UNSCALED if we use scaled-osd


Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Fri Apr 27 18:10:45 2007
@@ -792,7 +792,7 @@ query_format(uint32_t format)
                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)



More information about the MPlayer-cvslog mailing list