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

reimar subversion at mplayerhq.hu
Sat Nov 22 19:15:25 CET 2014


Author: reimar
Date: Sat Nov 22 19:15:25 2014
New Revision: 37327

Log:
vo_null: set ACCEPT_STRIDE.

Besides better performance, this can avoid crashes since
without ACCEPT_STRIDE we might end up calling the unsupported
draw_frame function.

Modified:
   trunk/libvo/vo_null.c

Modified: trunk/libvo/vo_null.c
==============================================================================
--- trunk/libvo/vo_null.c	Sat Nov 22 19:15:24 2014	(r37326)
+++ trunk/libvo/vo_null.c	Sat Nov 22 19:15:25 2014	(r37327)
@@ -64,7 +64,7 @@ query_format(uint32_t format)
 {
     if (IMGFMT_IS_HWACCEL(format))
         return 0;
-    return VFCAP_CSP_SUPPORTED;
+    return VFCAP_CSP_SUPPORTED | VFCAP_ACCEPT_STRIDE;
 }
 
 static int


More information about the MPlayer-cvslog mailing list