Lines Matching refs:source1

8   GstElement *comp, *sink, *source1;  in test_simplest_full()  local
26 source1 = in test_simplest_full()
29 fail_if (source1 == NULL); in test_simplest_full()
30 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_simplest_full()
34 gst_bin_add (GST_BIN (comp), source1); in test_simplest_full()
37 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_simplest_full()
39 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_simplest_full()
65 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_simplest_full()
117 GstElement *comp, *source1, *source2; in test_time_duration_full() local
128 source1 = videotest_gnl_src ("source1", 0, 1 * GST_SECOND, 3, 1); in test_time_duration_full()
129 fail_if (source1 == NULL); in test_time_duration_full()
130 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_time_duration_full()
144 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
147 gst_bin_add (GST_BIN (comp), source1); in test_time_duration_full()
152 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
166 gst_object_ref (source1); in test_time_duration_full()
167 gst_bin_remove (GST_BIN (comp), source1); in test_time_duration_full()
172 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
176 gst_bin_add (GST_BIN (comp), source1); in test_time_duration_full()
179 gst_object_unref (source1); in test_time_duration_full()
181 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
190 GstElement *comp, *sink, *source1, *source2; in test_one_after_other_full() local
211 source1 = in test_one_after_other_full()
214 fail_if (source1 == NULL); in test_one_after_other_full()
215 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_after_other_full()
231 gst_bin_add (GST_BIN (comp), source1); in test_one_after_other_full()
235 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_after_other_full()
242 check_start_stop_duration (source1, 0 * GST_SECOND, 1 * GST_SECOND, in test_one_after_other_full()
252 gst_object_ref (source1); in test_one_after_other_full()
253 gst_bin_remove (GST_BIN (comp), source1); in test_one_after_other_full()
257 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_after_other_full()
261 gst_bin_add (GST_BIN (comp), source1); in test_one_after_other_full()
264 gst_object_unref (source1); in test_one_after_other_full()
266 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_after_other_full()
295 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_after_other_full()
399 GstElement *comp, *sink, *source1, *source2; in test_one_under_another_full() local
425 source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 3, 1); in test_one_under_another_full()
426 fail_if (source1 == NULL); in test_one_under_another_full()
427 check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); in test_one_under_another_full()
442 gst_bin_add (GST_BIN (comp), source1); in test_one_under_another_full()
448 check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); in test_one_under_another_full()
454 gst_object_ref (source1); in test_one_under_another_full()
455 gst_bin_remove (GST_BIN (comp), source1); in test_one_under_another_full()
461 gst_bin_add (GST_BIN (comp), source1); in test_one_under_another_full()
464 gst_object_unref (source1); in test_one_under_another_full()
542 GstElement *comp, *sink, *source1, *source2; in test_one_bin_after_other_full() local
560 source1 = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 3, 1); in test_one_bin_after_other_full()
561 if (source1 == NULL) { in test_one_bin_after_other_full()
566 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_bin_after_other_full()
583 gst_bin_add (GST_BIN (comp), source1); in test_one_bin_after_other_full()
587 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_bin_after_other_full()
589 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()
596 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_bin_after_other_full()
604 gst_object_ref (source1); in test_one_bin_after_other_full()
605 gst_bin_remove (GST_BIN (comp), source1); in test_one_bin_after_other_full()
609 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()
613 gst_bin_add (GST_BIN (comp), source1); in test_one_bin_after_other_full()
616 gst_object_unref (source1); in test_one_bin_after_other_full()
618 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()
647 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()