Pull-mode video sink in playback

Sebastian Dröge sebastian at centricular.com
Fri Jan 6 09:45:46 UTC 2017


On Fri, 2017-01-06 at 16:14 +0800, Yi-Lung Tsai wrote:
> There is a function named "activate_pull" in GstBaseSink indicating a
> sink could be in pull-mode.
> I wonder is it possible to develop a videosink in pull-mode for
> playback purpose.
> If so, is there any example or sample code to do similar tasks?

In theory that would be possible, but it's completely untested and will
probably not work without further changes. And most importantly, you
will need an element in front of your sink that can actually be pulled
from.

There were some experiments with that in 0.10 times and audio sinks,
but not much came out of that because IIRC the advantages were rather
minimal and did not warrant the added complexity.


Why would you like to have a pull mode video sink?

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


More information about the gstreamer-devel mailing list