summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-15 13:27:38 +0200
committerwm4 <wm4@nowhere>2015-07-15 13:27:38 +0200
commitbc68794acc067d8862525caa41ab3922ef9239bc (patch)
tree8170ddac096b98928436399b5cd96a2e73d3a82c
parent50bd2807ad4f94bcf215991566336060ebfdd249 (diff)
downloadmpv-bc68794acc067d8862525caa41ab3922ef9239bc.tar.bz2
mpv-bc68794acc067d8862525caa41ab3922ef9239bc.tar.xz
vo_vaapi: drop unused field
-rw-r--r--video/out/vo_vaapi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c
index cf50e585a3..d5b035e350 100644
--- a/video/out/vo_vaapi.c
+++ b/video/out/vo_vaapi.c
@@ -88,7 +88,6 @@ struct priv {
bool osd_screen;
struct mp_image_pool *pool;
- struct va_image_formats *va_image_formats;
struct mp_image *black_surface;
@@ -598,7 +597,6 @@ static int preinit(struct vo *vo)
p->pool = mp_image_pool_new(MAX_OUTPUT_SURFACES + 3);
va_pool_set_allocator(p->pool, p->mpvaapi, VA_RT_FORMAT_YUV420);
- p->va_image_formats = p->mpvaapi->image_formats;
int max_subpic_formats = vaMaxNumSubpictureFormats(p->display);
p->va_subpic_formats = talloc_array(vo, VAImageFormat, max_subpic_formats);