Commit 221cb036 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey

padtemplate: Directly unreference the documentation caps

The public-facing API has a (valid) protection against NULL caps. We can just
directly remove it.

Part-of: <!515>
parent ba0ffeb3
Pipeline #157028 waiting for manual action with stages
in 28 seconds
......@@ -230,7 +230,7 @@ gst_pad_template_dispose (GObject * object)
gst_caps_unref (GST_PAD_TEMPLATE_CAPS (templ));
}
gst_pad_template_set_documentation_caps (templ, NULL);
gst_caps_replace (&templ->ABI.abi.documentation_caps, NULL);
G_OBJECT_CLASS (parent_class)->dispose (object);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment