summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vaapi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-21 22:12:30 +0100
committerwm4 <wm4@nowhere>2015-01-21 22:12:30 +0100
commitb2149f7fe102f7d00beb2051e179160e47cbcbc6 (patch)
tree4fc5226f63eb71a167bb2cff0848011c0cca26e4 /video/out/vo_vaapi.c
parenta1ed13869c1586897c323ebf65cfd3975092ffad (diff)
downloadmpv-b2149f7fe102f7d00beb2051e179160e47cbcbc6.tar.bz2
mpv-b2149f7fe102f7d00beb2051e179160e47cbcbc6.tar.xz
vaapi: minor simplification
Diffstat (limited to 'video/out/vo_vaapi.c')
-rw-r--r--video/out/vo_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c
index f8edd83b4e..21e604f235 100644
--- a/video/out/vo_vaapi.c
+++ b/video/out/vo_vaapi.c
@@ -177,7 +177,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)
static int query_format(struct vo *vo, int imgfmt)
{
struct priv *p = vo->priv;
- if (imgfmt == IMGFMT_VAAPI || va_image_format_from_imgfmt(p->va_image_formats, imgfmt))
+ if (imgfmt == IMGFMT_VAAPI || va_image_format_from_imgfmt(p->mpvaapi, imgfmt))
return 1;
return 0;