tests: improve rtpbin test

This commit is contained in:
Wim Taymans 2013-12-31 13:20:01 +01:00
parent bb2d37b11d
commit b91e0096b7

View file

@ -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);