pbutils: Update for latest API change in gstdiscoverer
authorEdward Hervey <bilboed@bilboed.com>
Mon, 8 Nov 2010 18:01:50 +0000 (19:01 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 8 Nov 2010 18:01:50 +0000 (19:01 +0100)
gst/pbutils.defs
gst/pbutils.override

index 0336487..0f032be 100644 (file)
   (return-type "GType")
 )
 
-(define-method container_info_get_streams
-  (of-object "GstDiscovererStreamInfo")
+(define-method get_streams
+  (of-object "GstDiscovererContainerInfo")
   (c-name "gst_discoverer_container_info_get_streams")
   (return-type "GList*")
 )
index 2ef3744..5ed454d 100644 (file)
@@ -376,7 +376,7 @@ _wrap_gst_discoverer_container_info_get_streams(PyGstMiniObject * self)
     GList *res, *tmp;
     PyObject *pyres;
 
-    res = gst_discoverer_container_info_get_streams(GST_DISCOVERER_STREAM_INFO (self->obj));
+    res = gst_discoverer_container_info_get_streams(GST_DISCOVERER_CONTAINER_INFO (self->obj));
 
     pyres = PyList_New(0);
     for (tmp = res; tmp; tmp = tmp->next) {