mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
plugins: remove unused variables
This variables stopped to be used since commit 001a5c63
, which removed the
gstvaapiuploader.
This commit is contained in:
parent
4800f48980
commit
f0d385ea4e
2 changed files with 0 additions and 6 deletions
|
@ -310,7 +310,6 @@ gst_vaapi_plugin_base_close (GstVaapiPluginBase * plugin)
|
|||
gst_object_replace (&plugin->gl_context, NULL);
|
||||
|
||||
gst_caps_replace (&plugin->sinkpad_caps, NULL);
|
||||
plugin->sinkpad_caps_changed = FALSE;
|
||||
gst_video_info_init (&plugin->sinkpad_info);
|
||||
if (plugin->sinkpad_buffer_pool) {
|
||||
gst_object_unref (plugin->sinkpad_buffer_pool);
|
||||
|
@ -319,7 +318,6 @@ gst_vaapi_plugin_base_close (GstVaapiPluginBase * plugin)
|
|||
g_clear_object (&plugin->srcpad_buffer_pool);
|
||||
|
||||
gst_caps_replace (&plugin->srcpad_caps, NULL);
|
||||
plugin->srcpad_caps_changed = FALSE;
|
||||
gst_video_info_init (&plugin->srcpad_info);
|
||||
gst_caps_replace (&plugin->allowed_raw_caps, NULL);
|
||||
}
|
||||
|
@ -568,7 +566,6 @@ gst_vaapi_plugin_base_set_caps (GstVaapiPluginBase * plugin, GstCaps * incaps,
|
|||
gst_caps_replace (&plugin->sinkpad_caps, incaps);
|
||||
if (!gst_video_info_from_caps (&plugin->sinkpad_info, incaps))
|
||||
return FALSE;
|
||||
plugin->sinkpad_caps_changed = TRUE;
|
||||
plugin->sinkpad_caps_is_raw = !gst_caps_has_vaapi_surface (incaps);
|
||||
}
|
||||
|
||||
|
@ -576,7 +573,6 @@ gst_vaapi_plugin_base_set_caps (GstVaapiPluginBase * plugin, GstCaps * incaps,
|
|||
gst_caps_replace (&plugin->srcpad_caps, outcaps);
|
||||
if (!gst_video_info_from_caps (&plugin->srcpad_info, outcaps))
|
||||
return FALSE;
|
||||
plugin->srcpad_caps_changed = TRUE;
|
||||
}
|
||||
|
||||
if (!ensure_sinkpad_buffer_pool (plugin, plugin->sinkpad_caps))
|
||||
|
|
|
@ -157,7 +157,6 @@ struct _GstVaapiPluginBase
|
|||
|
||||
GstPad *sinkpad;
|
||||
GstCaps *sinkpad_caps;
|
||||
gboolean sinkpad_caps_changed;
|
||||
gboolean sinkpad_caps_is_raw;
|
||||
GstVideoInfo sinkpad_info;
|
||||
GstBufferPool *sinkpad_buffer_pool;
|
||||
|
@ -165,7 +164,6 @@ struct _GstVaapiPluginBase
|
|||
|
||||
GstPad *srcpad;
|
||||
GstCaps *srcpad_caps;
|
||||
gboolean srcpad_caps_changed;
|
||||
GstVideoInfo srcpad_info;
|
||||
GstBufferPool *srcpad_buffer_pool;
|
||||
|
||||
|
|
Loading…
Reference in a new issue