check: don't use deprecated method

This commit is contained in:
Wim Taymans 2010-12-07 15:39:32 +01:00
parent 7081fc2250
commit ffd22c9184

View 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);
}