index ec941f059762efd185ff19ed6355197a51ecab10..ea7b52a0404ab5f1f26bf7dd7547c3149452bcfc 100644 (file)
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);
}