plugins: base: do not reset can_dmabuf

Don't reset the can_dmabuf field.  This restores the
close/reset logic that existed prior to commit
ca2942176b in regards to
dmabuf support.

Plugins only call gst_vaapi_plugin_base_set_srcpad_can_dmabuf
once during startup, but may need to reset the other private
fields multiple times during negotiation.  Thus, can_dmabuf
should be exempt from the resets.

Fixes #208
This commit is contained in:
U. Artie Eoff 2019-12-20 06:38:42 -08:00
parent 7ce44bc372
commit 18d1c75d1a

View file

@ -68,7 +68,6 @@ gst_vaapi_pad_private_reset (GstVaapiPadPrivate * priv)
priv->caps_is_raw = FALSE;
g_clear_object (&priv->other_allocator);
priv->can_dmabuf = FALSE;
}
void