First THREADED backport attempt, focusing on adding locks and making sure the API...
[platform/upstream/gstreamer.git] / gst / elements / gstfakesrc.c
index 0b64860..780835e 100644 (file)
@@ -887,7 +887,7 @@ gst_fakesrc_loop (GstElement * element)
 
   src = GST_FAKESRC (element);
 
-  pads = gst_element_get_pad_list (element);
+  pads = element->pads;
 
   while (pads) {
     GstPad *pad = GST_PAD (pads->data);