From b8268b1f3efa5dfede539b5b410d631e7bf5c9dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Wed, 29 Apr 2015 12:22:29 +0200 Subject: [PATCH] plugins: delete unused variable need_pool is a boolean variable extracted from the allocation query, but it is not used afterwards. --- gst/vaapi/gstvaapipluginbase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/vaapi/gstvaapipluginbase.c b/gst/vaapi/gstvaapipluginbase.c index 23c14a6..f5edd26 100644 --- a/gst/vaapi/gstvaapipluginbase.c +++ b/gst/vaapi/gstvaapipluginbase.c @@ -607,7 +607,7 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin, GstStructure *config; GstVideoInfo vi; guint size, min, max; - gboolean need_pool, update_pool = FALSE; + gboolean update_pool = FALSE; gboolean has_video_meta = FALSE; gboolean has_video_alignment = FALSE; #if (USE_GLX || USE_EGL) @@ -617,7 +617,7 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin, g_return_val_if_fail (plugin->display != NULL, FALSE); - gst_query_parse_allocation (query, &caps, &need_pool); + gst_query_parse_allocation (query, &caps, NULL); /* We don't need any GL context beyond this point if not requested so explicitly through GstVideoGLTextureUploadMeta */ -- 2.7.4