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
This commit is contained in:
mplayer-svn 2011-08-04 19:30:26 +00:00 committed by wm4
parent 9dc8d891d1
commit 4f04019338
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}