[Bug 797181] gst_element_add_pad: remove inactive pad g_warning

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 20 14:33:37 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797181

--- Comment #1 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Created attachment 373714
  --> https://bugzilla.gnome.org/attachment.cgi?id=373714&action=edit
gst_element_add_pad: remove inactive pad g_warning

The documentation incorrectly used to state that the pads were
not automatically activated when added, whereas we actually do
that when appropriate.

Callers of gst_element_add_pad must not hold the object lock,
which implies that they cannot perform the same checks as
add_pad in a non-racy manner.

This updates the documentation, and removes the g_warning
that was output before performing automatic activation.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list