projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5afc200
)
uridecodebin: minor GValue handling optimisation
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 3 Mar 2013 17:44:11 +0000
(17:44 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 3 Mar 2013 17:44:11 +0000
(17:44 +0000)
gst/playback/gsturidecodebin.c
patch
|
blob
|
history
diff --git
a/gst/playback/gsturidecodebin.c
b/gst/playback/gsturidecodebin.c
index
d271dae
..
1e4a903
100644
(file)
--- a/
gst/playback/gsturidecodebin.c
+++ b/
gst/playback/gsturidecodebin.c
@@
-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_neutral);
value_list_append_structure_list (&new_list, &new_structure, l_bad);
- gst_structure_set_value (new_structure, "locations", &new_list);
- g_value_unset (&new_list);
+ gst_structure_take_value (new_structure, "locations", &new_list);
g_list_free (l_good);
g_list_free (l_neutral);