From: <th...@ke...> - 2007-07-31 10:10:52
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: thaytan Date: Tue Jul 31 2007 10:10:41 UTC Log message: * gst/gstpluginfeature.c: (gst_plugin_feature_finalize), (gst_plugin_feature_set_name): Revert patch from #459466 until after the release and we can work out exactly what the problem is (if any). Modified files: . : ChangeLog gst : gstpluginfeature.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3346&r2=1.3347 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpluginfeature.c.diff?r1=1.49&r2=1.50 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.3346 retrieving revision 1.3347 diff -u -d -r1.3346 -r1.3347 --- ChangeLog 26 Jul 2007 15:48:40 -0000 1.3346 +++ ChangeLog 31 Jul 2007 10:10:25 -0000 1.3347 @@ -1,3 +1,10 @@ +2007-07-31 Jan Schmidt <th...@ma...> + + * gst/gstpluginfeature.c: (gst_plugin_feature_finalize), + (gst_plugin_feature_set_name): + Revert patch from #459466 until after the release and we can work + out exactly what the problem is (if any). 2007-07-26 Tim-Philipp Müller <tim at centricular dot net> * docs/gst/gstreamer-sections.txt: Index: gstpluginfeature.c RCS file: /cvs/gstreamer/gstreamer/gst/gstpluginfeature.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- gstpluginfeature.c 23 Jul 2007 10:39:10 -0000 1.49 +++ gstpluginfeature.c 31 Jul 2007 10:10:27 -0000 1.50 @@ -68,6 +68,7 @@ GST_DEBUG ("finalizing feature %p: '%s'", feature, GST_PLUGIN_FEATURE_NAME (feature)); + g_free (feature->name); g_free (feature->plugin_name); G_OBJECT_CLASS (parent_class)->finalize (object); @@ -183,9 +184,9 @@ if (feature->name) { g_return_if_fail (strcmp (feature->name, name) == 0); } else { - gst_object_set_name (GST_OBJECT (feature), name); - feature->name = GST_OBJECT_NAME (GST_OBJECT (feature)); + feature->name = g_strdup (name); } + gst_object_set_name (GST_OBJECT (feature), feature->name); } /** |