[Bug 756867] No stream status CREATE messages for dynamically added multiqueue srcpads
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Oct 20 06:41:26 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=756867
--- Comment #1 from Jan Alexander Steffens (heftig) <jan.steffens at gmail.com> ---
Maybe the srcpad should be added before activating it, as follows? I don't know
if this would be correct.
g_rec_mutex_lock (GST_STATE_GET_LOCK (mqueue));
if (GST_STATE_TARGET (mqueue) != GST_STATE_NULL) {
gst_pad_set_active (sq->sinkpad, TRUE);
}
gst_element_add_pad (GST_ELEMENT (mqueue), sq->srcpad);
gst_element_add_pad (GST_ELEMENT (mqueue), sq->sinkpad);
if (GST_STATE_TARGET (mqueue) != GST_STATE_NULL) {
gst_pad_set_active (sq->srcpad, TRUE);
}
g_rec_mutex_unlock (GST_STATE_GET_LOCK (mqueue));
--
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