Home
last modified time | relevance | path

Searched refs:sinkpad1 (Results 1 – 10 of 10) sorted by relevance

/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudiointerleave.c573 GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2; in test_audiointerleave_2ch_pipeline() local
622 sinkpad1 = gst_element_request_pad_simple (interleave, "sink_%u"); in test_audiointerleave_2ch_pipeline()
623 fail_unless (sinkpad1 != NULL); in test_audiointerleave_2ch_pipeline()
630 fail_unless (gst_pad_link (tmp, sinkpad1) == GST_PAD_LINK_OK); in test_audiointerleave_2ch_pipeline()
656 gst_element_release_request_pad (interleave, sinkpad1); in test_audiointerleave_2ch_pipeline()
657 gst_object_unref (sinkpad1); in test_audiointerleave_2ch_pipeline()
679 GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2; in GST_START_TEST() local
726 sinkpad1 = gst_element_request_pad_simple (interleave, "sink_%u"); in GST_START_TEST()
727 fail_unless (sinkpad1 != NULL); in GST_START_TEST()
734 fail_unless (gst_pad_link (tmp, sinkpad1) == GST_PAD_LINK_OK); in GST_START_TEST()
[all …]
Dencodebin.c797 GstPad *sinkpad1, *sinkpad2, *srcpad; in GST_START_TEST() local
818 sinkpad1 = gst_element_request_pad_simple (ebin, "audio_0"); in GST_START_TEST()
820 fail_unless (sinkpad1 != NULL); in GST_START_TEST()
821 _caps_match (sinkpad1, "audio/x-raw;audio/x-vorbis"); in GST_START_TEST()
822 fail_unless_equals_int (gst_pad_link (srcpad, sinkpad1), GST_PAD_LINK_OK); in GST_START_TEST()
858 gst_element_release_request_pad (GST_ELEMENT (ebin), sinkpad1); in GST_START_TEST()
859 gst_object_unref (sinkpad1); in GST_START_TEST()
Dcompositor.c489 GstPad *sinkpad1, *sinkpad2; in run_late_caps_query_test() local
512 sinkpad1 = gst_element_request_pad_simple (compositor, "sink_%u"); in run_late_caps_query_test()
514 fail_unless (gst_pad_link (srcpad1, sinkpad1) == GST_PAD_LINK_OK); in run_late_caps_query_test()
549 gst_element_release_request_pad (compositor, sinkpad1); in run_late_caps_query_test()
551 gst_object_unref (sinkpad1); in run_late_caps_query_test()
1905 GstPad *sinkpad1, *sinkpad2, *sinkpad3; in GST_START_TEST() local
1912 sinkpad1 = gst_element_request_pad_simple (compositor, "sink_%u"); in GST_START_TEST()
1916 g_object_get (sinkpad1, "zorder", &zorder1, NULL); in GST_START_TEST()
1920 ck_assert_ptr_eq (sinkpads->data, sinkpad1); in GST_START_TEST()
1924 g_object_set (sinkpad1, "zorder", zorder2 + 1, NULL); in GST_START_TEST()
[all …]
Daudiomixer.c1110 GstPad *tmppad, *srcpad1, *sinkpad1, *sinkpad2, *audiomixer_src; in GST_START_TEST() local
1129 sinkpad1 = gst_element_request_pad (audiomixer, sink_template, NULL, NULL); in GST_START_TEST()
1131 gst_pad_link (srcpad1, sinkpad1); in GST_START_TEST()
1145 gst_pad_send_event (sinkpad1, gst_event_new_flush_start ()); in GST_START_TEST()
1147 fail_unless (GST_PAD_IS_FLUSHING (sinkpad1)); in GST_START_TEST()
1151 gst_pad_send_event (sinkpad1, gst_event_new_flush_stop (TRUE)); in GST_START_TEST()
1154 fail_if (GST_PAD_IS_FLUSHING (sinkpad1)); in GST_START_TEST()
1157 gst_element_release_request_pad (audiomixer, sinkpad1); in GST_START_TEST()
1158 gst_object_unref (sinkpad1); in GST_START_TEST()
1191 GstPad *sinkpad1, *sinkpad2; in run_sync_test() local
[all …]
Dadder.c1021 GstPad *tmppad, *sinkpad1, *sinkpad2, *adder_src;
1040 sinkpad1 = gst_element_request_pad (adder, sink_template, NULL, NULL);
1042 gst_pad_link (tmppad, sinkpad1);
1057 gst_pad_send_event (sinkpad1, gst_event_new_flush_start ());
1059 gst_pad_send_event (sinkpad1, gst_event_new_flush_stop (TRUE));
1063 gst_element_release_request_pad (adder, sinkpad1);
1064 gst_object_unref (sinkpad1);
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dinterleave.c532 GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2; in test_interleave_2ch_pipeline() local
573 sinkpad1 = gst_element_request_pad_simple (interleave, "sink_%u"); in test_interleave_2ch_pipeline()
574 fail_unless (sinkpad1 != NULL); in test_interleave_2ch_pipeline()
581 fail_unless (gst_pad_link (tmp, sinkpad1) == GST_PAD_LINK_OK); in test_interleave_2ch_pipeline()
606 gst_element_release_request_pad (interleave, sinkpad1); in test_interleave_2ch_pipeline()
607 gst_object_unref (sinkpad1); in test_interleave_2ch_pipeline()
629 GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2; in GST_START_TEST() local
668 sinkpad1 = gst_element_request_pad_simple (interleave, "sink_%u"); in GST_START_TEST()
669 fail_unless (sinkpad1 != NULL); in GST_START_TEST()
676 fail_unless (gst_pad_link (tmp, sinkpad1) == GST_PAD_LINK_OK); in GST_START_TEST()
[all …]
Dvideomixer.c978 GstPad *tmppad, *sinkpad1, *sinkpad2, *videomixer_src;
995 sinkpad1 = gst_element_request_pad (videomixer, sink_template, NULL, NULL);
997 gst_pad_link (tmppad, sinkpad1);
1013 gst_pad_send_event (sinkpad1, gst_event_new_flush_start ());
1015 gst_pad_send_event (sinkpad1, gst_event_new_flush_stop (TRUE));
1021 gst_object_unref (sinkpad1);
/third_party/gstreamer/gstreamer/tests/check/libs/
Dcollectpads.c310 static GstPad *sinkpad1, *sinkpad2; variable
392 sinkpad1 = gst_pad_new_from_static_template (&sinktemplate, "sink1"); in setup_default()
394 fail_unless (gst_pad_link (srcpad1, sinkpad1) == GST_PAD_LINK_OK); in setup_default()
397 gst_pad_set_active (sinkpad1, TRUE); in setup_default()
428 gst_object_unref (sinkpad1); in teardown()
432 sinkpad1 = sinkpad2 = NULL; in teardown()
438 ASSERT_CRITICAL (gst_collect_pads_add_pad (collect, sinkpad1, in GST_START_TEST()
442 sinkpad1, sizeof (TestData), NULL, TRUE); in GST_START_TEST()
446 fail_unless (gst_collect_pads_remove_pad (collect, sinkpad1) == TRUE); in GST_START_TEST()
457 sinkpad1, sizeof (TestData), NULL, TRUE); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_good/gst/smpte/
Dgstsmpte.c287 if (pad == smpte->sinkpad1) { in gst_smpte_setcaps()
331 smpte->sinkpad1 = in gst_smpte_init()
333 GST_PAD_SET_PROXY_CAPS (smpte->sinkpad1); in gst_smpte_init()
334 gst_element_add_pad (GST_ELEMENT (smpte), smpte->sinkpad1); in gst_smpte_init()
351 gst_collect_pads_add_pad (smpte->collect, smpte->sinkpad1, in gst_smpte_init()
463 if (!gst_pad_has_current_caps (smpte->sinkpad1) || in gst_smpte_collected()
487 if (data->pad == smpte->sinkpad1) in gst_smpte_collected()
562 caps1 = gst_pad_get_current_caps (smpte->sinkpad1); in gst_smpte_collected()
Dgstsmpte.h51 *sinkpad1, member