First THREADED backport attempt, focusing on adding locks and making sure the API...
[platform/upstream/gstreamer.git] / tools / gst-compprep.c
index c9073f2..0d5ea5a 100644 (file)
@@ -91,7 +91,7 @@ main (int argc, char *argv[])
               padtemplate->name_template);
       }
 
-      pads = gst_element_get_pad_list (element);
+      pads = element->pads;
       while (pads) {
         pad = (GstPad *) (pads->data);
         pads = g_list_next (pads);