changeset 33865:0a39f8762b97

vo_null: do not accept hwaccel formats since they need special vo support and thus will actually not work with it.
author reimar
date Thu, 04 Aug 2011 19:30:26 +0000
parents 1b795ff832d6
children 846cc6abc5ba
files libvo/vo_null.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_null.c	Thu Aug 04 09:51:10 2011 +0000
+++ b/libvo/vo_null.c	Thu Aug 04 19:30:26 2011 +0000
@@ -67,6 +67,8 @@
 static int
 query_format(uint32_t format)
 {
+    if (IMGFMT_IS_HWACCEL(format))
+        return 0;
     return VFCAP_CSP_SUPPORTED;
 }