summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-01 15:18:06 +0100
committerwm4 <wm4@nowhere>2013-12-01 15:18:06 +0100
commitb5d7c95e361d26b8316e8ab70ea66126fbd861b9 (patch)
tree72129e868c018109a3afad5b1aeb2900b4d58980 /video/out
parent48e10da5019d8103fdde96bca68d72ddb1d7f2ca (diff)
downloadmpv-b5d7c95e361d26b8316e8ab70ea66126fbd861b9.tar.bz2
mpv-b5d7c95e361d26b8316e8ab70ea66126fbd861b9.tar.xz
vo_null: don't reject hwaccel formats
This is not strictly needed anymore. (On the other hand, it's not really possible to do hw decoding with vo_null, because the VO is still responsible for opening the hw decoder API, but that's another story.)
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo_null.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_null.c b/video/out/vo_null.c
index c7e81a8c16..bb20945728 100644
--- a/video/out/vo_null.c
+++ b/video/out/vo_null.c
@@ -40,8 +40,6 @@ static void flip_page(struct vo *vo)
static int query_format(struct vo *vo, uint32_t format)
{
- if (IMGFMT_IS_HWACCEL(format))
- return 0;
return VFCAP_CSP_SUPPORTED;
}