gst/playback/gstplaybin.c: Remove obsolete streaminfo code and fix a leak. Fixes...
authorStefan Kost <ensonic@users.sourceforge.net>
Thu, 24 Apr 2008 08:19:35 +0000 (08:19 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Thu, 24 Apr 2008 08:19:35 +0000 (08:19 +0000)
Original commit message from CVS:
* gst/playback/gstplaybin.c:
Remove obsolete streaminfo code and fix a leak. Fixes #529546

ChangeLog
gst/playback/gstplaybin.c

index c750586..1c4de1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-24  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/playback/gstplaybin.c:
+         Remove obsolete streaminfo code and fix a leak. Fixes #529546
+
 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
 
        * ext/ogg/gstoggdemux.c:
index 9ed2d84..156d3cb 100644 (file)
@@ -1490,7 +1490,6 @@ static gboolean
 setup_sinks (GstPlayBaseBin * play_base_bin, GstPlayBaseGroup * group)
 {
   GstPlayBin *play_bin = GST_PLAY_BIN (play_base_bin);
-  GList *streaminfo = NULL, *s;
   gboolean need_vis = FALSE;
   gboolean need_text = FALSE;
   GstPad *textsrcpad = NULL, *pad = NULL, *origtextsrcpad = NULL;
@@ -1514,15 +1513,6 @@ setup_sinks (GstPlayBaseBin * play_base_bin, GstPlayBaseGroup * group)
   }
 
   /* now actually connect everything */
-  g_object_get (G_OBJECT (play_base_bin), "stream-info", &streaminfo, NULL);
-  for (s = streaminfo; s; s = g_list_next (s)) {
-    GObject *obj = G_OBJECT (s->data);
-    gint type;
-    GstObject *object;
-
-    g_object_get (obj, "type", &type, NULL);
-    g_object_get (obj, "object", &object, NULL);
-  }
 
   /* link audio */
   if (group->type[GST_STREAM_TYPE_AUDIO - 1].npads > 0) {