Commit b91e0096 authored by Wim Taymans's avatar Wim Taymans

tests: improve rtpbin test

parent bb2d37b1
......@@ -588,7 +588,7 @@ aux_sender_cb (GstElement * rtpbin, guint sessid, gpointer user_data)
GST_START_TEST (test_aux_sender)
GstElement *rtpbin;
GstPad *rtp_sink1, *rtp_src;
GstPad *rtp_sink1, *rtp_src, *rtcp_src;
gulong id;
rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
......@@ -611,6 +611,11 @@ GST_START_TEST (test_aux_sender)
fail_unless (rtp_src != NULL);
gst_object_unref (rtp_src);
rtcp_src = gst_element_get_request_pad (rtpbin, "send_rtcp_src_1");
fail_unless (rtcp_src != NULL);
gst_element_release_request_pad (rtpbin, rtcp_src);
gst_object_unref (rtcp_src);
rtp_src = gst_element_get_static_pad (rtpbin, "send_rtp_src_3");
fail_unless (rtp_src != NULL);
gst_object_unref (rtp_src);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment