This was hardcoded to "sink" / "src" by accident in previous refactoring.
GstPadTemplate *ptmpl = gst_static_pad_template_get (tmpl);
GstPad *srcpad;
- srcpad =
- gst_check_setup_src_pad_by_name_from_template (element, ptmpl, "sink");
+ srcpad = gst_check_setup_src_pad_by_name_from_template (element, ptmpl, name);
gst_object_unref (ptmpl);
GstPad *sinkpad;
sinkpad =
- gst_check_setup_sink_pad_by_name_from_template (element, ptmpl, "src");
+ gst_check_setup_sink_pad_by_name_from_template (element, ptmpl, name);
gst_object_unref (ptmpl);