Pad Probe Callbacks
Sebastian Dröge
sebastian at centricular.com
Mon Sep 26 06:19:30 UTC 2016
On Sun, 2016-09-25 at 22:20 -0700, DeepakRohan wrote:
> Hi,
> I have a simple clarification regarding the probe callback.
> Say that probe is added on the audio input-selector src pad with
> GST_PAD_PROBE_TYPE_IDLE.
> So when the ProbeCallback happens, will the entire pipeline be blocked that
> is to say that there would not be any data flow either in the Audio part of
> the pipeline as well no data flow in the video part of the pipeline also.
> Or it is just the audio pipeline getting blocked and video part continues.
>
> As far as I have understood it should stop the data flow in the entire
> pipeline. As blocking only audio part of the pipeline may cause the video
> synchronization issues with audio.
>
> Please correct me if I am wrong.
It only blocks data flow at that specific pad. Which might as a result
also block other parts of the pipeline if they are handled by the same
thread.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160926/a6a5312b/attachment.sig>
More information about the gstreamer-devel
mailing list