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:
7d53c39
)
autoconvert: Fix previous commit: ensure we take a ref on the features
author
Jan Schmidt
<thaytan@noraisin.net>
Wed, 4 Nov 2009 23:32:07 +0000
(23:32 +0000)
committer
Jan Schmidt
<thaytan@noraisin.net>
Wed, 4 Nov 2009 23:32:07 +0000
(23:32 +0000)
gst/autoconvert/gstautoconvert.c
patch
|
blob
|
history
diff --git
a/gst/autoconvert/gstautoconvert.c
b/gst/autoconvert/gstautoconvert.c
index f3d8bed436828c3a180c8551ea852fa593ba465c..4fb0a416eb80ffe95b3cd4a1dc2d18e74d15b48b 100644
(file)
--- a/
gst/autoconvert/gstautoconvert.c
+++ b/
gst/autoconvert/gstautoconvert.c
@@
-292,6
+292,7
@@
gst_auto_convert_set_property (GObject * object,
if (autoconvert->factories == NULL) {
GList *factories = g_value_get_pointer (value);
autoconvert->factories = g_list_copy (factories);
+ g_list_foreach (autoconvert->factories, (GFunc) g_object_ref, NULL);
} else
GST_WARNING_OBJECT (object, "Can not reset factories after they"
" have been set or auto-discovered");