[MPlayer-cvslog] r33953 - trunk/libvo/vo_null.c

reimar subversion at mplayerhq.hu
Thu Aug 4 21:30:27 CEST 2011


Author: reimar
Date: Thu Aug  4 21:30:26 2011
New Revision: 33953

Log:
vo_null: do not accept hwaccel formats since they need special vo
support and thus will actually not work with it.

Modified:
   trunk/libvo/vo_null.c

Modified: trunk/libvo/vo_null.c
==============================================================================
--- trunk/libvo/vo_null.c	Thu Aug  4 11:51:10 2011	(r33952)
+++ trunk/libvo/vo_null.c	Thu Aug  4 21:30:26 2011	(r33953)
@@ -67,6 +67,8 @@ draw_frame(uint8_t *src[])
 static int
 query_format(uint32_t format)
 {
+    if (IMGFMT_IS_HWACCEL(format))
+        return 0;
     return VFCAP_CSP_SUPPORTED;
 }
 


More information about the MPlayer-cvslog mailing list