check: don't use deprecated method
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 7 Dec 2010 14:39:32 +0000 (15:39 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 7 Dec 2010 14:39:32 +0000 (15:39 +0100)
tests/check/pipelines/lame.c

index ec941f0..ea7b52a 100644 (file)
@@ -47,7 +47,7 @@ GST_START_TEST (test_format)
     GstElement *sink = gst_bin_get_by_name (GST_BIN (bin), "fakesink0");
 
     fail_unless (sink != NULL, "Could not get fakesink out of bin");
-    pad = gst_element_get_pad (sink, "sink");
+    pad = gst_element_get_static_pad (sink, "sink");
     fail_unless (pad != NULL, "Could not get pad out of fakesink");
     gst_object_unref (sink);
   }