Lines Matching refs:videotestsrc
57 GstElement *videotestsrc; in setup_videotestsrc() local
60 videotestsrc = gst_check_setup_element ("videotestsrc"); in setup_videotestsrc()
61 mysinkpad = gst_check_setup_sink_pad (videotestsrc, &sinktemplate); in setup_videotestsrc()
64 return videotestsrc; in setup_videotestsrc()
68 cleanup_videotestsrc (GstElement * videotestsrc) in cleanup_videotestsrc() argument
75 gst_check_teardown_sink_pad (videotestsrc); in cleanup_videotestsrc()
76 gst_check_teardown_element (videotestsrc); in cleanup_videotestsrc()
81 GstElement *videotestsrc; in GST_START_TEST() local
87 videotestsrc = setup_videotestsrc (); in GST_START_TEST()
88 oclass = G_OBJECT_GET_CLASS (videotestsrc); in GST_START_TEST()
94 GST_DEBUG_OBJECT (videotestsrc, "testing pattern %s", values[j].value_name); in GST_START_TEST()
96 g_object_set (videotestsrc, "pattern", j, NULL); in GST_START_TEST()
98 fail_unless (gst_element_set_state (videotestsrc, in GST_START_TEST()
104 GST_DEBUG_OBJECT (videotestsrc, "Waiting for more buffers"); in GST_START_TEST()
109 gst_element_set_state (videotestsrc, GST_STATE_READY); in GST_START_TEST()
116 cleanup_videotestsrc (videotestsrc); in GST_START_TEST()
625 GST_CHECK_MAIN (videotestsrc);