diff options
author | mplayer-svn <svn@mplayerhq.hu> | 2011-08-04 19:30:26 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-03 01:13:02 +0200 |
commit | 4f0401933847ca5c5ff7e5e118469246c51bad76 (patch) | |
tree | 045c4a91961f57654005ee3e22a9dc6f5ebb7d4e /libvo/vo_null.c | |
parent | 9dc8d891d12d2e7f8498095f9295939d71c57e1a (diff) | |
download | mpv-4f0401933847ca5c5ff7e5e118469246c51bad76.tar.bz2 mpv-4f0401933847ca5c5ff7e5e118469246c51bad76.tar.xz |
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
Diffstat (limited to 'libvo/vo_null.c')
-rw-r--r-- | libvo/vo_null.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |