Home
last modified time | relevance | path

Searched refs:fakesrc (Results 1 – 25 of 46) sorted by relevance

12

/third_party/gstreamer/gstreamer/tests/check/pipelines/
Dstress.c54 GstElement *fakesrc, *fakesink; in GST_START_TEST() local
57 fakesrc = gst_element_factory_make ("fakesrc", NULL); in GST_START_TEST()
61 g_return_if_fail (fakesrc && fakesink && pipeline); in GST_START_TEST()
63 gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL); in GST_START_TEST()
64 gst_element_link (fakesrc, fakesink); in GST_START_TEST()
83 GstElement *fakesrc, *fakesink, *pipeline; in GST_START_TEST() local
86 fakesrc = gst_element_factory_make ("fakesrc", NULL); in GST_START_TEST()
90 g_return_if_fail (fakesrc && fakesink && pipeline); in GST_START_TEST()
92 gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL); in GST_START_TEST()
93 gst_element_link (fakesrc, fakesink); in GST_START_TEST()
Dsimple-launch-lines.c258 GstElement *fakesrc, *fakesink, *pipeline; in GST_START_TEST() local
264 fakesrc = gst_element_factory_make ("fakesrc", NULL); in GST_START_TEST()
268 fail_unless (fakesrc && fakesink && pipeline); in GST_START_TEST()
270 gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL); in GST_START_TEST()
271 fail_unless (gst_element_link (fakesrc, fakesink) != FALSE); in GST_START_TEST()
Dparse-launch.c534 GstElement *fakesrc; member
572 src->fakesrc = gst_element_factory_make ("fakesrc", NULL); in gst_parse_test_element_init()
573 if (src->fakesrc) in gst_parse_test_element_init()
574 gst_bin_add (GST_BIN (src), src->fakesrc); in gst_parse_test_element_init()
588 if (src->fakesrc == NULL) in gst_parse_test_element_change_state()
591 pad = gst_element_get_static_pad (src->fakesrc, "src"); in gst_parse_test_element_change_state()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstpipeline.c249 GstElement *pipeline, *fakesrc, *fakesink; in GST_START_TEST() local
258 fakesrc = gst_element_factory_make ("fakesrc", "fakesrc"); in GST_START_TEST()
263 fail_unless (pipeline && fakesrc && fakesink, "couldn't make elements"); in GST_START_TEST()
265 g_object_set (fakesrc, "is-live", (gboolean) TRUE, "do-timestamp", TRUE, in GST_START_TEST()
270 gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL); in GST_START_TEST()
271 gst_element_link (fakesrc, fakesink); in GST_START_TEST()
475 GstElement *pipeline, *bin, *fakesrc, *fakesink; in GST_START_TEST() local
480 fakesrc = gst_element_factory_make ("fakesrc", "fakesrc"); in GST_START_TEST()
483 fail_unless (pipeline && bin && fakesrc && fakesink); in GST_START_TEST()
485 g_object_set (fakesrc, "num-buffers", 100, NULL); in GST_START_TEST()
[all …]
Dgstutils.c79 GstElement *pipeline, *fakesrc, *fakesink; in GST_START_TEST() local
85 fakesrc = gst_element_factory_make ("fakesrc", NULL); in GST_START_TEST()
88 g_object_set (fakesrc, "num-buffers", (int) 10, NULL); in GST_START_TEST()
90 gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL); in GST_START_TEST()
91 gst_element_link (fakesrc, fakesink); in GST_START_TEST()
179 GstElement *pipeline, *fakesrc, *fakesink; in GST_START_TEST() local
186 fakesrc = gst_element_factory_make ("fakesrc", NULL); in GST_START_TEST()
189 g_object_set (fakesrc, "num-buffers", (int) 10, NULL); in GST_START_TEST()
191 gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL); in GST_START_TEST()
192 gst_element_link (fakesrc, fakesink); in GST_START_TEST()
[all …]
Dgstevent.c672 GstElement *fakesrc, *fakesink, *queue; in GST_START_TEST() local
676 fail_if ((fakesrc = gst_element_factory_make ("fakesrc", NULL)) == NULL); in GST_START_TEST()
680 gst_bin_add_many (pipeline, fakesrc, queue, fakesink, NULL); in GST_START_TEST()
681 fail_unless (gst_element_link_many (fakesrc, queue, fakesink, NULL)); in GST_START_TEST()
686 g_object_set (G_OBJECT (fakesrc), "silent", TRUE, "datarate", 100, in GST_START_TEST()
693 fail_if ((srcpad = gst_element_get_static_pad (fakesrc, "src")) == NULL); in GST_START_TEST()
/third_party/gstreamer/gstreamer/docs/random/wtay/
Deos210 ! ! fakesrc! !identity! !fakesink! !
21 fakesrc detects the end of stream. It just returned the last buffer.
31 returns TRUE and fakesrc signals EOS with the value TRUE.
43 ! fakesrc! !identity! ! queue ! ! !fakesink!!
54 fakesrc detects the end of stream. It just returned the last buffer.
64 request. fakesrc signals EOS with a value of false and the parent
79 ! fakesrc! ! tee ! ! queue1 ! ! !fakesink!!
93 fakesrc detects the end of stream. It just sent the last buffer
97 eos request. the parent removes fakesrc as an EOS provider.
116 ! fakesrc! !mpeg1parse! ! queue1 ! ! !fakesink!!
[all …]
Deos310 ! ! fakesrc! !identity! !fakesink! !
21 fakesrc detects the end of stream. It just returned the last buffer.
27 fakesrc.
40 ! ! fakesrc! !identity! ! queue ! ! !fakesink!! !
53 fakesrc detects the end of stream. It just returned the last buffer.
78 ! ! fakesrc! ! tee ! ! queue1 ! ! !fakesink!! !
100 fakesrc detects the end of stream. It just returned the last buffer.
119 ! ! fakesrc! !mpeg1parse! ! queue1 ! ! !fakesink!! !
144 fakesrc detects the end of stream. It just returned the last buffer.
Dscheduling_ideas13 ! fakesrc !
23 ! fakesrc !
147 ! *fakesrc -> fakesink !
169 ! %*fakesrc -> fakesink !
189 ! fakesrc -> %*fakesink !
282 ! *fakesrc -> fakesink !
288 ! *fakesrc -> identity -> identity -> fakesink !
294 ! fakesrc -> %*identity -> identity -> fakesink !
300 ! *fakesrc -> identity --> *%identity -> fakesink !
306 ! *fakesrc -> tee --> identity -> fakesink !
[all …]
Deos410 ! ! fakesrc! !identity! !fakesink! !
15 ! !fakesrc ! !identity! !fakesink! !
36 fakesrc signals EOS. since an element in chain1 has signals
Deos510 ! ! fakesrc! !identity! !fakesink! !
15 ! !fakesrc ! !identity! !fakesink! !
/third_party/gstreamer/gstreamer/tests/examples/streams/
Dstream-status.c105 GstElement *bin, *fakesrc, *fakesink; in main() local
115 fakesrc = gst_element_factory_make ("fakesrc", "fakesrc"); in main()
116 g_assert (fakesrc); in main()
117 g_object_set (fakesrc, "num-buffers", 50, NULL); in main()
124 gst_bin_add_many (GST_BIN (bin), fakesrc, fakesink, NULL); in main()
127 gst_element_link (fakesrc, fakesink); in main()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfakesrc.c207 GST_ELEMENT_REGISTER_DEFINE (fakesrc, "fakesrc", GST_RANK_NONE,
361 gst_fake_src_init (GstFakeSrc * fakesrc) in gst_fake_src_init() argument
363 fakesrc->output = FAKE_SRC_FIRST_LAST_LOOP; in gst_fake_src_init()
364 fakesrc->silent = DEFAULT_SILENT; in gst_fake_src_init()
365 fakesrc->signal_handoffs = DEFAULT_SIGNAL_HANDOFFS; in gst_fake_src_init()
366 fakesrc->dump = DEFAULT_DUMP; in gst_fake_src_init()
367 fakesrc->pattern_byte = 0x00; in gst_fake_src_init()
368 fakesrc->data = FAKE_SRC_DATA_ALLOCATE; in gst_fake_src_init()
369 fakesrc->sizetype = FAKE_SRC_SIZETYPE_EMPTY; in gst_fake_src_init()
370 fakesrc->filltype = FAKE_SRC_FILLTYPE_NOTHING; in gst_fake_src_init()
[all …]
Dgstcoreelementselements.h35 GST_ELEMENT_REGISTER_DECLARE (fakesrc);
/third_party/gstreamer/gstreamer/tests/check/elements/
Dfakesrc.c50 GstElement *fakesrc; in setup_fakesrc() local
53 fakesrc = gst_check_setup_element ("fakesrc"); in setup_fakesrc()
54 mysinkpad = gst_check_setup_sink_pad (fakesrc, &sinktemplate); in setup_fakesrc()
58 return fakesrc; in setup_fakesrc()
62 cleanup_fakesrc (GstElement * fakesrc) in cleanup_fakesrc() argument
65 gst_check_teardown_sink_pad (fakesrc); in cleanup_fakesrc()
66 gst_check_teardown_element (fakesrc); in cleanup_fakesrc()
336 GST_CHECK_MAIN (fakesrc);
Dqueue2.c670 GstElement *fakesrc, *queue2, *fakesink; in GST_START_TEST() local
677 fakesrc = gst_element_factory_make ("fakesrc", NULL); in GST_START_TEST()
678 fail_unless (fakesrc != NULL); in GST_START_TEST()
679 g_object_set (G_OBJECT (fakesrc), "format", (gint) 3, "filltype", (gint) 2, in GST_START_TEST()
700 gst_bin_add_many (GST_BIN (pipe), fakesrc, queue2, fakesink, NULL); in GST_START_TEST()
701 gst_element_link_many (fakesrc, queue2, fakesink, NULL); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dapev2mux.c175 fill_mp3_buffer (GstElement * fakesrc, GstBuffer * buf, GstPad * pad, in fill_mp3_buffer() argument
259 GstElement *pipeline, *apev2mux, *apedemux, *fakesrc, *fakesink; in test_taglib_apev2mux_with_tags() local
267 fakesrc = gst_element_factory_make ("fakesrc", "fakesrc"); in test_taglib_apev2mux_with_tags()
268 g_assert (fakesrc != NULL); in test_taglib_apev2mux_with_tags()
284 gst_bin_add (GST_BIN (pipeline), fakesrc); in test_taglib_apev2mux_with_tags()
292 gst_element_link_many (fakesrc, apev2mux, apedemux, fakesink, NULL); in test_taglib_apev2mux_with_tags()
295 g_object_set (fakesrc, "signal-handoffs", TRUE, "can-activate-pull", FALSE, in test_taglib_apev2mux_with_tags()
300 g_signal_connect (fakesrc, "handoff", G_CALLBACK (fill_mp3_buffer), &offset); in test_taglib_apev2mux_with_tags()
Did3v2mux.c260 fill_mp3_buffer (GstElement * fakesrc, GstBuffer * buf, GstPad * pad, in fill_mp3_buffer() argument
353 GstElement *pipeline, *id3mux, *id3demux, *fakesrc, *identity, *fakesink; in test_taglib_id3mux_with_tags() local
363 fakesrc = gst_element_factory_make ("fakesrc", "fakesrc"); in test_taglib_id3mux_with_tags()
364 g_assert (fakesrc != NULL); in test_taglib_id3mux_with_tags()
383 gst_bin_add (GST_BIN (pipeline), fakesrc); in test_taglib_id3mux_with_tags()
392 gst_element_link_many (fakesrc, id3mux, identity, id3demux, fakesink, NULL); in test_taglib_id3mux_with_tags()
395 g_object_set (fakesrc, "signal-handoffs", TRUE, "can-activate-pull", FALSE, in test_taglib_id3mux_with_tags()
400 g_signal_connect (fakesrc, "handoff", G_CALLBACK (fill_mp3_buffer), &offset); in test_taglib_id3mux_with_tags()
/third_party/gstreamer/gstreamer/docs/random/company/
Dgstparse57 example:#> gst-launch \( { fakesrc pipeline . \( fakesink \) } \)
58 This will put a fakesrc element inside a thread inside a bin and a fakesink into
71 example:#> gst-launch fakesrc ! fakesink
72 This will put the two elements into a pipeline and connect the fakesrc to the
77 example:#> gst-launch fakesrc .src ! fakesink
78 example:#> gst-launch fakesrc ! .sink fakesink
79 example:#> gst-launch fakesrc .src ! .sink fakesink
85 example:#> gst-launch fakesrc name=src fakesink name=sink src.src ! sink.sink
86 example:#> gst-launch fakesrc name=src ! sink.sink fakesink name=sink
87 example:#> gst-launch fakesrc name=src src. ! fakesink name=sink
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowaudiodec.cpp445 adec->fakesrc = NULL; in gst_dshowaudiodec_init()
629 adec->fakesrc->GetOutputPin()->PushBuffer ( in gst_dshowaudiodec_chain()
687 if (!adec->fakesrc) in gst_dshowaudiodec_flush()
691 adec->fakesrc->GetOutputPin()->Flush(); in gst_dshowaudiodec_flush()
886 adec->fakesrc->GetOutputPin()->SetMediaType (input_mediatype); in gst_dshowaudiodec_setup_graph()
888 srcfilter = adec->fakesrc; in gst_dshowaudiodec_setup_graph()
1048 adec->fakesrc = new FakeSrc(); in gst_dshowaudiodec_create_graph_and_filters()
1050 adec->fakesrc->AddRef(); in gst_dshowaudiodec_create_graph_and_filters()
1070 srcfilter = adec->fakesrc; in gst_dshowaudiodec_create_graph_and_filters()
1096 if (adec->fakesrc) { in gst_dshowaudiodec_create_graph_and_filters()
[all …]
Dgstdshowvideodec.cpp493 vdec->fakesrc = NULL; in gst_dshowvideodec_init()
695 vdec->fakesrc->GetOutputPin()->SetMediaType(&input_mediatype); in gst_dshowvideodec_sink_setcaps()
698 vdec->fakesrc->GetOutputPin()->SetSampleSize(input_mediatype.lSampleSize); in gst_dshowvideodec_sink_setcaps()
701 hres = vdec->fakesrc->QueryInterface(IID_IBaseFilter, in gst_dshowvideodec_sink_setcaps()
953 vdec->fakesrc->GetOutputPin()->PushBuffer( in gst_dshowvideodec_chain()
1051 if (!vdec->fakesrc) in gst_dshowvideodec_flush()
1055 vdec->fakesrc->GetOutputPin()->Flush(); in gst_dshowvideodec_flush()
1136 vdec->fakesrc = new FakeSrc(); in gst_dshowvideodec_create_graph_and_filters()
1138 vdec->fakesrc->AddRef(); in gst_dshowvideodec_create_graph_and_filters()
1140 hres = vdec->fakesrc->QueryInterface(IID_IBaseFilter, in gst_dshowvideodec_create_graph_and_filters()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Did3mux.c307 fill_mp3_buffer (GstElement * fakesrc, GstBuffer * buf, GstPad * pad, in fill_mp3_buffer() argument
398 GstElement *pipeline, *id3mux, *id3demux, *fakesrc, *identity, *fakesink; in test_taglib_id3mux_with_tags() local
408 fakesrc = gst_element_factory_make ("fakesrc", "fakesrc"); in test_taglib_id3mux_with_tags()
409 g_assert (fakesrc != NULL); in test_taglib_id3mux_with_tags()
429 gst_bin_add (GST_BIN (pipeline), fakesrc); in test_taglib_id3mux_with_tags()
438 gst_element_link_many (fakesrc, id3mux, identity, id3demux, fakesink, NULL); in test_taglib_id3mux_with_tags()
441 g_object_set (fakesrc, "signal-handoffs", TRUE, "can-activate-pull", FALSE, in test_taglib_id3mux_with_tags()
446 g_signal_connect (fakesrc, "handoff", G_CALLBACK (fill_mp3_buffer), &offset); in test_taglib_id3mux_with_tags()
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideosink.cpp245 sink->fakesrc = NULL; in gst_dshowvideosink_clear()
814 srcpin = sink->fakesrc->GetOutputPin(); in gst_dshowvideosink_connect_graph()
932 sink->filter_graph->Disconnect(sink->fakesrc->GetOutputPin()); in gst_dshowvideosink_stop_graph()
1474 sink->fakesrc = new VideoFakeSrc(); in gst_dshowvideosink_build_filtergraph()
1477 hres = sink->fakesrc->QueryInterface ( in gst_dshowvideosink_build_filtergraph()
1510 if (sink->fakesrc) { in gst_dshowvideosink_build_filtergraph()
1511 sink->fakesrc->Release(); in gst_dshowvideosink_build_filtergraph()
1512 sink->fakesrc = NULL; in gst_dshowvideosink_build_filtergraph()
1545 sink->filter_graph->Disconnect(sink->fakesrc->GetOutputPin()); in gst_dshowvideosink_set_caps()
1561 sink->fakesrc->GetOutputPin()->SetMediaType (&sink->mediatype); in gst_dshowvideosink_set_caps()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
DREADME45 GST_DEBUG="basertpaudiopayload:5" gst-launch-1.0 fakesrc sizetype=2
51 GST_DEBUG="basertpaudiopayload:5" gst-launch-1.0 fakesrc sizetype=2
57 GST_DEBUG="basertpaudiopayload:5" gst-launch-1.0 fakesrc sizetype=2
/third_party/gstreamer/gstreamer/tests/validate/
Dsimplest.validatetest5 "fakesrc num-buffers=5 ! fakesink sync=true name=sink",

12