Pause/Resume with adder
avinashgst
aviec07 at gmail.com
Fri Oct 27 04:25:21 UTC 2017
Hi Stefan,
I am able to perform pause/resume successfully with adder after following
modification.
1) Pause
-- gst_pad_add_probe (audioconvert src, GST_PAD_PROBE_TYPE_BLOCK |
GST_PAD_PROBE_TYPE_BUFFER,
(GstPadProbeCallback) cb_have_data, NULL, NULL);
-- unlinking audioconvert src and sink_0 by gst_pad_unlink
-- gst_element_release_request_pad sink_0
2) Resume after some time
-- Linked audioconvert src of Src1 and sink_2 ( getting by
gst_element_get_request_pad(adder,"sink_%u");) by gst_pad_link
-- gst_pad_remove_probe (audioconvert src ,probe_id);
Regards,
Avinash
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list