Changing the pad activate mode to push gives WARNING

Sebastian Dröge sebastian at centricular.com
Mon Mar 14 08:15:10 UTC 2016


On So, 2016-03-13 at 22:33 -0700, DeepakRohan wrote:
> 
> In gstreamer 1.0 you do the activation of sinkpad either in pull mode or in
> push mode only once at the beginning.
> So once activated in push mode then you can do random access (which you
> could do only if you were in pull mode).

Actually you can change the scheduling mode later too, which is what
happens often in decodebin at typefind. It first runs in pull mode
itself, once a demuxer is plugged in after the type is found, typefind
deactivates and the demuxer runs in pull mode.
But that's a very special case that usually does not happen in other
pipelines.

Decision whether to run in pull or push mode is btw done with the
SCHEDULING query in 1.x, which is done before the activation.

-- 
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: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160314/b9e9facd/attachment.sig>


More information about the gstreamer-devel mailing list