mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
check: don't use deprecated method
This commit is contained in:
parent
7081fc2250
commit
ffd22c9184
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue