Home
last modified time | relevance | path

Searched refs:sinkpad (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dqtdemux.c179 GstPad *sinkpad; in GST_START_TEST() local
203 sinkpad = gst_element_get_static_pad (qtdemux, "sink"); in GST_START_TEST()
212 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
216 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
224 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
234 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
253 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
260 gst_object_unref (sinkpad); in GST_START_TEST()
269 GstPad *sinkpad; member
306 if (gst_pad_is_linked (data->sinkpad)) { in qtdemux_block_for_reconfig()
[all …]
Davimux.c60 GstPad *srcpad, *sinkpad; in setup_src_pad() local
68 if (!(sinkpad = gst_element_get_static_pad (element, sinkname))) in setup_src_pad()
69 sinkpad = gst_element_request_pad_simple (element, sinkname); in setup_src_pad()
70 fail_if (sinkpad == NULL, "Could not get sink pad from %s", in setup_src_pad()
73 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 3); in setup_src_pad()
76 fail_unless (gst_pad_link (srcpad, sinkpad) == GST_PAD_LINK_OK, in setup_src_pad()
78 gst_object_unref (sinkpad); /* because we got it higher up */ in setup_src_pad()
81 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 2); in setup_src_pad()
89 GstPad *srcpad, *sinkpad; in teardown_src_pad() local
95 if (!(sinkpad = gst_element_get_static_pad (element, padname))) in teardown_src_pad()
[all …]
Drtpbin_buffer_list.c1020 GstPad *sinkpad; in GST_START_TEST() local
1035 sinkpad = in GST_START_TEST()
1038 fail_if (sinkpad == NULL); in GST_START_TEST()
1040 gst_pad_set_chain_list_function (sinkpad, in GST_START_TEST()
1044 gst_pad_set_active (sinkpad, TRUE); in GST_START_TEST()
1067 gst_pad_set_active (sinkpad, FALSE); in GST_START_TEST()
1082 GstPad *sinkpad; in GST_START_TEST() local
1098 sinkpad = in GST_START_TEST()
1100 fail_if (sinkpad == NULL); in GST_START_TEST()
1102 gst_pad_set_chain_list_function (sinkpad, in GST_START_TEST()
[all …]
Djpegenc.c133 GstPad *sinkpad; in GST_START_TEST() local
144 sinkpad = gst_element_get_static_pad (jpegenc, "sink"); in GST_START_TEST()
146 caps = gst_pad_query_caps (sinkpad, NULL); in GST_START_TEST()
148 gst_object_unref (sinkpad); in GST_START_TEST()
152 sinkpad = gst_element_get_static_pad (jpegenc, "sink"); in GST_START_TEST()
154 caps = gst_pad_query_caps (sinkpad, NULL); in GST_START_TEST()
156 gst_object_unref (sinkpad); in GST_START_TEST()
161 sinkpad = gst_element_get_static_pad (jpegenc, "sink"); in GST_START_TEST()
163 caps = gst_pad_query_caps (sinkpad, NULL); in GST_START_TEST()
177 gst_object_unref (sinkpad); in GST_START_TEST()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstghostpad.c33 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
51 sinkpad = gst_element_get_static_pad (sink, "sink"); in GST_START_TEST()
52 gst_element_add_pad (b2, gst_ghost_pad_new ("sink", sinkpad)); in GST_START_TEST()
53 gst_object_unref (sinkpad); in GST_START_TEST()
57 sinkpad = gst_element_get_static_pad (b2, "sink"); in GST_START_TEST()
59 ret = gst_pad_link (srcpad, sinkpad); in GST_START_TEST()
62 gst_object_unref (sinkpad); in GST_START_TEST()
85 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
99 sinkpad = gst_element_get_static_pad (sink, "sink"); in GST_START_TEST()
100 gst_element_add_pad (b2, gst_ghost_pad_new ("sink", sinkpad)); in GST_START_TEST()
[all …]
Dgstpad.c1451 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
1456 sinkpad = gst_pad_new ("sink", GST_PAD_SINK); in GST_START_TEST()
1457 fail_unless (sinkpad != NULL); in GST_START_TEST()
1459 gst_pad_set_chain_function (sinkpad, idletest_sink_pad_chain); in GST_START_TEST()
1461 fail_unless (gst_pad_link (srcpad, sinkpad) == GST_PAD_LINK_OK); in GST_START_TEST()
1463 gst_pad_set_active (sinkpad, TRUE); in GST_START_TEST()
1493 gst_object_unref (sinkpad); in GST_START_TEST()
1546 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
1552 sinkpad = gst_pad_new ("sink", GST_PAD_SINK); in GST_START_TEST()
1553 fail_unless (sinkpad != NULL); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dasfmux.c60 GstPad *srcpad, *sinkpad; in setup_src_pad() local
68 if (!(sinkpad = gst_element_get_static_pad (element, sinkname))) in setup_src_pad()
69 sinkpad = gst_element_request_pad_simple (element, sinkname); in setup_src_pad()
70 fail_if (sinkpad == NULL, "Could not get sink pad from %s", in setup_src_pad()
73 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 3); in setup_src_pad()
74 fail_unless (gst_pad_link (srcpad, sinkpad) == GST_PAD_LINK_OK, in setup_src_pad()
76 gst_object_unref (sinkpad); /* because we got it higher up */ in setup_src_pad()
79 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 2); in setup_src_pad()
87 GstPad *srcpad, *sinkpad; in teardown_src_pad() local
92 if (!(sinkpad = gst_element_get_static_pad (element, padname))) in teardown_src_pad()
[all …]
Dmplex.c123 GstPad *srcpad, *sinkpad; in setup_src_pad() local
131 sinkpad = gst_element_request_pad_simple (element, sinkname); in setup_src_pad()
132 fail_if (sinkpad == NULL, "Could not get sink pad from %s", in setup_src_pad()
135 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 3); in setup_src_pad()
138 fail_unless (gst_pad_link (srcpad, sinkpad) == GST_PAD_LINK_OK, in setup_src_pad()
140 gst_object_unref (sinkpad); /* because we got it higher up */ in setup_src_pad()
143 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 2); in setup_src_pad()
151 GstPad *srcpad, *sinkpad; in teardown_src_pad() local
157 sinkpad = gst_element_get_static_pad (element, padname); in teardown_src_pad()
160 ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 3); in teardown_src_pad()
[all …]
Dccextractor.c62 caps = gst_pad_get_current_caps (h->sinkpad); in GST_START_TEST()
120 fail_unless (h2->sinkpad != NULL); in GST_START_TEST()
133 caps = gst_pad_get_current_caps (h->sinkpad); in GST_START_TEST()
139 caps = gst_pad_get_current_caps (h2->sinkpad); in GST_START_TEST()
165 fail_unless (h2->sinkpad != NULL); in GST_START_TEST()
178 caps = gst_pad_get_current_caps (h->sinkpad); in GST_START_TEST()
184 caps = gst_pad_get_current_caps (h2->sinkpad); in GST_START_TEST()
231 caps = gst_pad_get_current_caps (h->sinkpad); in GST_START_TEST()
237 fail_unless (h2->sinkpad != NULL); in GST_START_TEST()
244 caps = gst_pad_get_current_caps (h->sinkpad); in GST_START_TEST()
[all …]
Daiffparse.c33 static GstPad *sinkpad; variable
144 sinkpad = gst_pad_new_from_static_template (&sinktemplate, "sink"); in create_sink_pad()
146 gst_pad_set_chain_function (sinkpad, sink_chain); in create_sink_pad()
147 gst_pad_set_event_function (sinkpad, sink_event); in create_sink_pad()
149 return sinkpad; in create_sink_pad()
178 sinkpad = create_sink_pad (); in run_check()
179 fail_unless (sinkpad != NULL); in run_check()
191 fail_unless (gst_pad_link (aiff_srcpad, sinkpad) == GST_PAD_LINK_OK); in run_check()
202 gst_pad_set_active (sinkpad, TRUE); in run_check()
215 gst_pad_set_active (sinkpad, FALSE); in run_check()
[all …]
/third_party/gstreamer/gstplugins_base/gst/encoding/
Dgststreamcombiner.c209 GstPad *sinkpad = NULL; in gst_stream_combiner_src_event() local
217 sinkpad = stream_combiner->current; in gst_stream_combiner_src_event()
219 sinkpad = (GstPad *) stream_combiner->sinkpads->data; in gst_stream_combiner_src_event()
222 if (sinkpad) in gst_stream_combiner_src_event()
224 return gst_pad_push_event (sinkpad, event); in gst_stream_combiner_src_event()
234 GstPad *sinkpad = NULL; in gst_stream_combiner_src_query() local
244 sinkpad = stream_combiner->current; in gst_stream_combiner_src_query()
246 sinkpad = (GstPad *) stream_combiner->sinkpads->data; in gst_stream_combiner_src_query()
249 if (sinkpad) in gst_stream_combiner_src_query()
251 ret = gst_pad_peer_query (sinkpad, query); in gst_stream_combiner_src_query()
[all …]
/third_party/gstreamer/gstreamer/tests/check/elements/
Dqueue2.c30 GstPad *sinkpad, *srcpad; in setup_queue2() local
39 sinkpad = gst_element_get_static_pad (queue2, "sink"); in setup_queue2()
40 fail_unless (sinkpad != NULL, "failed to get queue2 sink pad"); in setup_queue2()
45 fail_unless_equals_int (GST_PAD_LINK_OK, gst_pad_link (srcpad, sinkpad)); in setup_queue2()
47 gst_object_unref (sinkpad); in setup_queue2()
52 sinkpad = gst_element_get_static_pad (output, "sink"); in setup_queue2()
53 fail_unless (sinkpad != NULL, "failed to find sink pad of output element"); in setup_queue2()
55 fail_unless_equals_int (GST_PAD_LINK_OK, gst_pad_link (srcpad, sinkpad)); in setup_queue2()
58 gst_object_unref (sinkpad); in setup_queue2()
214 queue2_dummypad_query (GstPad * sinkpad, GstObject * parent, GstQuery * query) in queue2_dummypad_query() argument
[all …]
Dfakesink.c88 GstPad *sinkpad; in GST_START_TEST() local
95 sinkpad = gst_element_get_static_pad (sink, "sink"); in GST_START_TEST()
96 fail_if (sinkpad == NULL); in GST_START_TEST()
102 gst_pad_send_event (sinkpad, gst_event_new_stream_start ("test")); in GST_START_TEST()
118 eret = gst_pad_send_event (sinkpad, event); in GST_START_TEST()
136 fret = gst_pad_chain (sinkpad, buffer); in GST_START_TEST()
153 fret = gst_pad_chain (sinkpad, buffer); in GST_START_TEST()
172 data = chain_async (sinkpad, buffer); in GST_START_TEST()
202 fret = gst_pad_chain (sinkpad, buffer); in GST_START_TEST()
211 fret = gst_pad_chain (sinkpad, buffer); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_good/tests/examples/rtp/
Dclient-PCMA.c110 GstPad *sinkpad; in pad_added_cb() local
115 sinkpad = gst_element_get_static_pad (depay, "sink"); in pad_added_cb()
116 g_assert (sinkpad); in pad_added_cb()
118 lres = gst_pad_link (new_pad, sinkpad); in pad_added_cb()
120 gst_object_unref (sinkpad); in pad_added_cb()
141 GstPad *srcpad, *sinkpad; in main() local
200 sinkpad = gst_element_request_pad_simple (rtpbin, "recv_rtp_sink_0"); in main()
201 lres = gst_pad_link (srcpad, sinkpad); in main()
207 sinkpad = gst_element_request_pad_simple (rtpbin, "recv_rtcp_sink_0"); in main()
208 lres = gst_pad_link (srcpad, sinkpad); in main()
[all …]
Dserver-alsasrc-PCMA.c124 GstPad *srcpad, *sinkpad; in main() local
180 sinkpad = gst_element_request_pad_simple (rtpbin, "send_rtp_sink_0"); in main()
182 if (gst_pad_link (srcpad, sinkpad) != GST_PAD_LINK_OK) in main()
189 sinkpad = gst_element_get_static_pad (rtpsink, "sink"); in main()
190 if (gst_pad_link (srcpad, sinkpad) != GST_PAD_LINK_OK) in main()
193 gst_object_unref (sinkpad); in main()
197 sinkpad = gst_element_get_static_pad (rtcpsink, "sink"); in main()
198 if (gst_pad_link (srcpad, sinkpad) != GST_PAD_LINK_OK) in main()
200 gst_object_unref (sinkpad); in main()
205 sinkpad = gst_element_request_pad_simple (rtpbin, "recv_rtcp_sink_0"); in main()
[all …]
Dserver-alsasrc-PCMA.py70 sinkpad = Gst.Element.get_request_pad(rtpbin, 'send_rtp_sink_0') variable
72 lres = Gst.Pad.link(srcpad, sinkpad)
77 sinkpad = Gst.Element.get_static_pad(rtpsink, 'sink') variable
78 lres = Gst.Pad.link(srcpad, sinkpad)
82 sinkpad = Gst.Element.get_static_pad(rtcpsink, 'sink') variable
83 lres = Gst.Pad.link(srcpad, sinkpad)
88 sinkpad = Gst.Element.get_request_pad(rtpbin, 'recv_rtcp_sink_0') variable
89 lres = Gst.Pad.link(srcpad, sinkpad)
Dclient-PCMA.py48 sinkpad = Gst.Element.get_static_pad(depay, 'sink')
49 lres = Gst.Pad.link(new_pad, sinkpad)
99 sinkpad = Gst.Element.get_request_pad(rtpbin, 'recv_rtp_sink_0') variable
100 lres = Gst.Pad.link(srcpad, sinkpad)
104 sinkpad = Gst.Element.get_request_pad(rtpbin, 'recv_rtcp_sink_0') variable
105 lres = Gst.Pad.link(srcpad, sinkpad)
109 sinkpad = Gst.Element.get_static_pad(rtcpsink, 'sink') variable
110 lres = Gst.Pad.link(srcpad, sinkpad)
/third_party/gstreamer/gstplugins_bad/gst/proxy/
Dgstproxysrc.c196 GstPad *srcpad, *sinkpad; in gst_proxy_src_init() local
233 sinkpad = gst_element_get_static_pad (self->queue, "sink"); in gst_proxy_src_init()
234 gst_pad_link (self->internal_srcpad, sinkpad); in gst_proxy_src_init()
235 gst_object_unref (sinkpad); in gst_proxy_src_init()
291 GstPad *sinkpad = gst_element_get_static_pad (self->queue, "sink"); in gst_proxy_src_send_event() local
294 ret = gst_pad_send_event (sinkpad, event); in gst_proxy_src_send_event()
295 gst_object_unref (sinkpad); in gst_proxy_src_send_event()
309 GstPad *sinkpad = gst_element_get_static_pad (self->queue, "sink"); in gst_proxy_src_query() local
312 ret = gst_pad_query (sinkpad, query); in gst_proxy_src_query()
313 gst_object_unref (sinkpad); in gst_proxy_src_query()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dencodebin.c129 _caps_match (GstPad * sinkpad, const gchar * capsname) in _caps_match() argument
135 sinkcaps = gst_pad_query_caps (sinkpad, NULL); in _caps_match()
260 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
279 sinkpad = gst_element_get_static_pad (ebin, "audio_0"); in GST_START_TEST()
280 fail_unless (sinkpad != NULL); in GST_START_TEST()
282 _caps_match (sinkpad, "audio/x-raw;audio/x-vorbis"); in GST_START_TEST()
283 gst_object_unref (sinkpad); in GST_START_TEST()
371 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
388 sinkpad = gst_element_request_pad_simple (ebin, "audio_0"); in GST_START_TEST()
389 fail_unless (sinkpad != NULL); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/tests/check/generic/
Dsinks.c133 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
143 sinkpad = gst_element_get_static_pad (sink, "sink"); in GST_START_TEST()
144 gst_pad_link (srcpad, sinkpad); in GST_START_TEST()
146 gst_object_unref (sinkpad); in GST_START_TEST()
177 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
189 sinkpad = gst_element_get_static_pad (sink, "sink"); in GST_START_TEST()
190 gst_pad_link (srcpad, sinkpad); in GST_START_TEST()
192 gst_object_unref (sinkpad); in GST_START_TEST()
230 GstPad *srcpad, *sinkpad; in GST_START_TEST() local
242 sinkpad = gst_element_get_static_pad (sink, "sink"); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/tools/element-templates/
Dsinkpad4 GstPad *sinkpad;
37 replace->sinkpad = gst_pad_new_from_static_template (&gst_replace_sink_template
40 gst_pad_set_getcaps_function (replace->sinkpad,
42 gst_pad_set_setcaps_function (replace->sinkpad,
44 gst_pad_set_acceptcaps_function (replace->sinkpad,
46 gst_pad_set_fixatecaps_function (replace->sinkpad,
48 gst_pad_set_activate_function (replace->sinkpad,
50 gst_pad_set_activatepush_function (replace->sinkpad,
52 gst_pad_set_activatepull_function (replace->sinkpad,
54 gst_pad_set_link_function (replace->sinkpad,
[all …]
/third_party/gstreamer/gstplugins_bad/ext/musepack/
Dgstmusepackdec.c67 static gboolean gst_musepackdec_sink_activate (GstPad * sinkpad,
69 static gboolean gst_musepackdec_sink_activate_mode (GstPad * sinkpad,
72 static void gst_musepackdec_loop (GstPad * sinkpad);
111 musepackdec->sinkpad = in gst_musepackdec_init()
113 gst_pad_set_activate_function (musepackdec->sinkpad, in gst_musepackdec_init()
115 gst_pad_set_activatemode_function (musepackdec->sinkpad, in gst_musepackdec_init()
117 gst_element_add_pad (GST_ELEMENT (musepackdec), musepackdec->sinkpad); in gst_musepackdec_init()
196 gst_pad_pause_task (dec->sinkpad); /* not _stop_task()? */ in gst_musepackdec_handle_seek_event()
198 GST_PAD_STREAM_LOCK (dec->sinkpad); in gst_musepackdec_handle_seek_event()
206 gst_pad_push_event (dec->sinkpad, gst_event_new_flush_stop (TRUE)); in gst_musepackdec_handle_seek_event()
[all …]
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-read-common.c54 GST_DEBUG_OBJECT (common->sinkpad, "Parsing " element " element at offset %" \
58 GST_DEBUG_OBJECT (common->sinkpad, "Parsing " element " element " \
643 GST_DEBUG_OBJECT (common->sinkpad, "Missing track index table"); in gst_matroska_read_common_do_index_seek()
721 if (!gst_pad_peer_query_duration (common->sinkpad, GST_FORMAT_BYTES, in gst_matroska_read_common_get_length()
723 GST_DEBUG_OBJECT (common->sinkpad, "no upstream length"); in gst_matroska_read_common_get_length()
755 GST_DEBUG_OBJECT (common->sinkpad, "Skipping EBML Void element"); in gst_matroska_read_common_parse_skip()
757 GST_DEBUG_OBJECT (common->sinkpad, "Skipping EBML CRC32 element"); in gst_matroska_read_common_parse_skip()
759 GST_WARNING_OBJECT (common->sinkpad, in gst_matroska_read_common_parse_skip()
794 GST_WARNING_OBJECT (common->sinkpad, in gst_matroska_read_common_parse_attached_file()
800 GST_DEBUG_OBJECT (common->sinkpad, "FileDescription: %s", in gst_matroska_read_common_parse_attached_file()
[all …]
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Drndbuffersize.c56 GstPad *sinkpad, *srcpad; member
156 self->sinkpad = gst_pad_new_from_static_template (&sink_template, "sink"); in gst_rnd_buffer_size_init()
157 gst_pad_set_activate_function (self->sinkpad, in gst_rnd_buffer_size_init()
159 gst_pad_set_activatemode_function (self->sinkpad, in gst_rnd_buffer_size_init()
161 gst_pad_set_event_function (self->sinkpad, in gst_rnd_buffer_size_init()
163 gst_pad_set_chain_function (self->sinkpad, in gst_rnd_buffer_size_init()
165 GST_OBJECT_FLAG_SET (self->sinkpad, GST_PAD_FLAG_PROXY_CAPS); in gst_rnd_buffer_size_init()
166 GST_OBJECT_FLAG_SET (self->sinkpad, GST_PAD_FLAG_PROXY_ALLOCATION); in gst_rnd_buffer_size_init()
167 GST_OBJECT_FLAG_SET (self->sinkpad, GST_PAD_FLAG_PROXY_SCHEDULING); in gst_rnd_buffer_size_init()
168 gst_element_add_pad (GST_ELEMENT (self), self->sinkpad); in gst_rnd_buffer_size_init()
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstconcat.c289 GstPad *sinkpad; in gst_concat_request_new_pad() local
300 sinkpad = GST_PAD_CAST (g_object_new (GST_TYPE_CONCAT_PAD, in gst_concat_request_new_pad()
305 gst_pad_set_chain_function (sinkpad, in gst_concat_request_new_pad()
307 gst_pad_set_event_function (sinkpad, in gst_concat_request_new_pad()
309 gst_pad_set_query_function (sinkpad, in gst_concat_request_new_pad()
311 GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_CAPS); in gst_concat_request_new_pad()
312 GST_OBJECT_FLAG_SET (sinkpad, GST_PAD_FLAG_PROXY_ALLOCATION); in gst_concat_request_new_pad()
314 gst_pad_set_active (sinkpad, TRUE); in gst_concat_request_new_pad()
317 self->sinkpads = g_list_prepend (self->sinkpads, gst_object_ref (sinkpad)); in gst_concat_request_new_pad()
320 self->current_sinkpad = gst_object_ref (sinkpad); in gst_concat_request_new_pad()
[all …]

12345678910>>...20