[MPlayer-cvslog] r36614 - trunk/libvo/vo_sdl.c

reimar subversion at mplayerhq.hu
Sun Jan 19 00:08:28 CET 2014


Author: reimar
Date: Sun Jan 19 00:08:28 2014
New Revision: 36614

Log:
vo_sdl: set VFCAP_FLIP correctly.

For interleaved YUV formats there is special flipping code.

Modified:
   trunk/libvo/vo_sdl.c

Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c	Sat Jan 18 22:39:07 2014	(r36613)
+++ trunk/libvo/vo_sdl.c	Sun Jan 19 00:08:28 2014	(r36614)
@@ -1231,11 +1231,13 @@ query_format(uint32_t format)
 // it seems buggy (not hw accelerated), so just use YV12 instead!
 //    case IMGFMT_I420:
 //    case IMGFMT_IYUV:
+        return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_OSD |
+            VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN;
     case IMGFMT_YUY2:
     case IMGFMT_UYVY:
     case IMGFMT_YVYU:
         return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_OSD |
-            VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN;
+            VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_FLIP;
     case IMGFMT_RGB15:
     case IMGFMT_BGR15:
     case IMGFMT_RGB16:


More information about the MPlayer-cvslog mailing list