mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
plugins: don't destroy sink pad allocator
Don't destroy sink pad allocator at _set_caps() because it will be done at ensure_sinkpad_buffer_pool() if it is required.
This commit is contained in:
parent
ec364858b1
commit
8953126374
1 changed files with 0 additions and 1 deletions
|
@ -742,7 +742,6 @@ gst_vaapi_plugin_base_set_caps (GstVaapiPluginBase * plugin, GstCaps * incaps,
|
|||
if (incaps && incaps != plugin->sinkpad_caps) {
|
||||
if (!gst_video_info_from_caps (&plugin->sinkpad_info, incaps))
|
||||
return FALSE;
|
||||
g_clear_object (&plugin->sinkpad_allocator);
|
||||
gst_caps_replace (&plugin->sinkpad_caps, incaps);
|
||||
plugin->sinkpad_caps_is_raw = !gst_caps_has_vaapi_surface (incaps);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue