mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 06:31:08 +00:00
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:
parent
7ce44bc372
commit
18d1c75d1a
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue