Lines Matching refs:source1

8   GstElement *comp, *sink, *source1;  in test_simplest_full()  local
27 source1 = in test_simplest_full()
30 fail_if (source1 == NULL); in test_simplest_full()
31 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_simplest_full()
35 nle_composition_add (GST_BIN (comp), source1); in test_simplest_full()
38 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_simplest_full()
40 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_simplest_full()
64 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_simplest_full()
110 gst_check_objects_destroyed_on_unref (pipeline, comp, source1, NULL); in test_simplest_full()
120 GstElement *comp, *source1, *source2; in test_time_duration_full() local
132 source1 = videotest_nle_src ("source1", 0, 1 * GST_SECOND, 3, 1); in test_time_duration_full()
133 fail_if (source1 == NULL); in test_time_duration_full()
134 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_time_duration_full()
148 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
151 nle_composition_add (GST_BIN (comp), source1); in test_time_duration_full()
156 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
170 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
171 gst_object_ref (source1); in test_time_duration_full()
172 ASSERT_OBJECT_REFCOUNT (source1, "source1", 2); in test_time_duration_full()
173 GST_ERROR_OBJECT (source1, "Num refs : %i", ((GObject *) source1)->ref_count); in test_time_duration_full()
174 nle_composition_remove (GST_BIN (comp), source1); in test_time_duration_full()
176 GST_ERROR_OBJECT (source1, "Num refs : %i", ((GObject *) source1)->ref_count); in test_time_duration_full()
180 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
184 nle_composition_add (GST_BIN (comp), source1); in test_time_duration_full()
187 gst_object_unref (source1); in test_time_duration_full()
189 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_time_duration_full()
199 GstElement *comp, *sink, *source1, *source2; in test_one_after_other_full() local
221 source1 = in test_one_after_other_full()
224 fail_if (source1 == NULL); in test_one_after_other_full()
225 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_after_other_full()
241 nle_composition_add (GST_BIN (comp), source1); in test_one_after_other_full()
245 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_after_other_full()
251 check_start_stop_duration (source1, 0 * GST_SECOND, 1 * GST_SECOND, in test_one_after_other_full()
285 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_after_other_full()
394 GstElement *comp, *sink, *source1, *source2; in test_one_under_another_full() local
421 source1 = videotest_nle_src ("source1", 0, 2 * GST_SECOND, 18, 1); in test_one_under_another_full()
422 fail_if (source1 == NULL); in test_one_under_another_full()
423 check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); in test_one_under_another_full()
438 nle_composition_add (GST_BIN (comp), source1); in test_one_under_another_full()
444 check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); in test_one_under_another_full()
450 gst_object_ref (source1); in test_one_under_another_full()
451 nle_composition_remove (GST_BIN (comp), source1); in test_one_under_another_full()
457 nle_composition_add (GST_BIN (comp), source1); in test_one_under_another_full()
460 gst_object_unref (source1); in test_one_under_another_full()
537 GstElement *comp, *sink, *source1, *source2; in test_one_bin_after_other_full() local
556 source1 = videotest_in_bin_nle_src ("source1", 0, 1 * GST_SECOND, 3, 1); in test_one_bin_after_other_full()
557 if (source1 == NULL) { in test_one_bin_after_other_full()
562 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_bin_after_other_full()
579 nle_composition_add (GST_BIN (comp), source1); in test_one_bin_after_other_full()
583 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_bin_after_other_full()
585 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()
592 check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); in test_one_bin_after_other_full()
600 gst_object_ref (source1); in test_one_bin_after_other_full()
601 nle_composition_remove (GST_BIN (comp), source1); in test_one_bin_after_other_full()
605 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()
609 nle_composition_add (GST_BIN (comp), source1); in test_one_bin_after_other_full()
612 gst_object_unref (source1); in test_one_bin_after_other_full()
614 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()
642 ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); in test_one_bin_after_other_full()