bin: fix bogus variable type
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 15 Apr 2010 10:38:19 +0000 (11:38 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 15 Apr 2010 10:40:05 +0000 (11:40 +0100)
The result of gst_iterator_find_custom() is not a GstIterator *.

gst/gstbin.c

index 4d7d392..e1850c9 100644 (file)
@@ -3589,7 +3589,7 @@ GstElement *
 gst_bin_get_by_name (GstBin * bin, const gchar * name)
 {
   GstIterator *children;
-  GstIterator *result;
+  gpointer result;
 
   g_return_val_if_fail (GST_IS_BIN (bin), NULL);