Lines Matching refs:udpsrc
29 udpsrc_setup (GstElement ** udpsrc, GSocket ** socket, in udpsrc_setup() argument
36 *udpsrc = gst_check_setup_element ("udpsrc"); in udpsrc_setup()
37 fail_unless (*udpsrc != NULL); in udpsrc_setup()
38 g_object_set (*udpsrc, "port", 0, NULL); in udpsrc_setup()
40 *sinkpad = gst_check_setup_sink_pad_by_name (*udpsrc, &sinktemplate, "src"); in udpsrc_setup()
44 gst_element_set_state (*udpsrc, GST_STATE_PLAYING); in udpsrc_setup()
45 g_object_get (*udpsrc, "port", &port, NULL); in udpsrc_setup()
69 GstElement *udpsrc = NULL; in GST_START_TEST() local
73 if (!udpsrc_setup (&udpsrc, &socket, &sinkpad, &sa)) in GST_START_TEST()
126 gst_element_set_state (udpsrc, GST_STATE_NULL); in GST_START_TEST()
129 gst_check_teardown_pad_by_name (udpsrc, "src"); in GST_START_TEST()
130 gst_check_teardown_element (udpsrc); in GST_START_TEST()
141 GstElement *udpsrc = NULL; in GST_START_TEST() local
155 if (!udpsrc_setup (&udpsrc, &socket, &sinkpad, &sa)) in GST_START_TEST()
238 gst_element_set_state (udpsrc, GST_STATE_NULL); in GST_START_TEST()
241 gst_check_teardown_pad_by_name (udpsrc, "src"); in GST_START_TEST()
242 gst_check_teardown_element (udpsrc); in GST_START_TEST()
262 GST_CHECK_MAIN (udpsrc)