[Bug 725187] Add new multiappsrc or dynappsrc element with multiple output streams
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jan 19 16:38:04 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=725187
--- Comment #59 from Julien Isorce <julien.isorce at gmail.com> ---
Sorry for the late reply.
I think gst_multi_appsrc_add_source_id should return nothing, in the latest
version of the patch:
gchar * gst_multi_appsrc_add_source_id (GstMultiAppSrc * multiappsrc, const
gchar * name);
I had in mind (see #39 also) that the provided id is a unique id, which is what
MSE does in its implementation. So the called is responsible to provide a
unique id. Then internally to GstMultiAppSrc, you can still translate this
string id to an integer id to match Sebastian's suggestion. But do not return
it.
So should be:
gboolean gst_multi_appsrc_add_source_id (GstMultiAppSrc * multiappsrc, const
gchar * unique_id);
// return false if failure or if the id was already provided so no unique.
gboolean gst_multi_appsrc_remove_source_id (GstMultiAppSrc * multiappsrc, const
gchar * unique_id);
--
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