[Bug 746818] v4l2: Improve URI handler
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 14 09:04:59 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=746818
--- Comment #8 from Marc Leeman <marc.leeman at gmail.com> ---
> @@ +710,3 @@
> + gchar *string = gst_uri_to_string (v4l2object->uri);
> +
> + g_value_set_string (value, string);
>
> g_value_take_string() please, you can probably make it a one liner.
What is the rationale of preferring the g_value_take_string over
g_value_set_string; is it the extra copy where take string takes the ownership
and set string not?
--
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