[Bug 779765] GstUri: add function to parse uri and set properties to object
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 9 08:55:32 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=779765
--- Comment #4 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
(In reply to Marc Leeman from comment #3)
> (In reply to Matthew Waters (ystreet00) from comment #1)
> > Doesn't this conflict with URI's that actually have parameters that need to
> > be passed to the server in order to connect correctly. What happens if one
> > of those parameters is also present as a property on the element?
>
> I do not quite understand what you mean: is your point that one might pass
> different values in the uri than you would pass while setting the object?
Yes.
> Of course, that can cause a conflict; but in essence the last one wins; just
> as if one would set properties twice on the same object.
That presents a usability problem and would be a change in behaviour if added
to all elements that support uris.
With an object that has a debug boolean property.
g_object_set (o, "uri", "prot://location?debug=1", "debug", FALSE, NULL);
behaves differently to
g_object_set (o, "debug", FALSE, "uri", "prot://location?debug=1", NULL);
when they really shouldn't.
--
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