mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
uridecodebin: minor GValue handling optimisation
This commit is contained in:
parent
5afc2002b0
commit
7dd2fad888
1 changed files with 1 additions and 2 deletions
|
@ -2255,8 +2255,7 @@ handle_redirect_message (GstURIDecodeBin * dec, GstMessage * msg)
|
||||||
value_list_append_structure_list (&new_list, &new_structure, l_good);
|
value_list_append_structure_list (&new_list, &new_structure, l_good);
|
||||||
value_list_append_structure_list (&new_list, &new_structure, l_neutral);
|
value_list_append_structure_list (&new_list, &new_structure, l_neutral);
|
||||||
value_list_append_structure_list (&new_list, &new_structure, l_bad);
|
value_list_append_structure_list (&new_list, &new_structure, l_bad);
|
||||||
gst_structure_set_value (new_structure, "locations", &new_list);
|
gst_structure_take_value (new_structure, "locations", &new_list);
|
||||||
g_value_unset (&new_list);
|
|
||||||
|
|
||||||
g_list_free (l_good);
|
g_list_free (l_good);
|
||||||
g_list_free (l_neutral);
|
g_list_free (l_neutral);
|
||||||
|
|
Loading…
Reference in a new issue