From 4f0401933847ca5c5ff7e5e118469246c51bad76 Mon Sep 17 00:00:00 2001 From: mplayer-svn Date: Thu, 4 Aug 2011 19:30:26 +0000 Subject: [PATCH] vo_null: do not accept hwaccel formats Do not accept hwaccel formats since they need special vo support and thus will actually not work with it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33953 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar --- libvo/vo_null.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvo/vo_null.c b/libvo/vo_null.c index 325b87671f..eff81cb260 100644 --- a/libvo/vo_null.c +++ b/libvo/vo_null.c @@ -66,6 +66,8 @@ draw_frame(uint8_t *src[]) static int query_format(uint32_t format) { + if (IMGFMT_IS_HWACCEL(format)) + return 0; return VFCAP_CSP_SUPPORTED; }