mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
plugins: delete unused variable
need_pool is a boolean variable extracted from the allocation query, but it is not used afterwards.
This commit is contained in:
parent
d70a2e8d13
commit
b8268b1f3e
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue