Switching Streams sent via GstBaseSrc
Nicolas Dufresne
nicolas at ndufresne.ca
Thu Dec 3 01:54:32 UTC 2020
Le mer. 2 déc. 2020 15 h 00, Stirling Westrup <swestrup at gmail.com> a écrit :
> Oh, another issue I'm having is that now that I'm successfully
> switching streams I'm finding that the decoding latency for the video
> has changed because of changes in resolution and encoding, but latency
> is not being recalculated. Is there some way for a source element to
> trigger a recalculation of latency?
trieddddd doing it the moment the
stream started, but at that point I always seem to get a stale result,
> probably because none of the buffers with the increased latency have
> made it to the sink yet, but being live I can't wait for preroll and I
> don't know when a buffer has been fully processed.
>
Your app should monitor the latency message, and call
gst_bin_recalculate_latency() on the pipeline.
>
>
> --
> Stirling Westrup (he/him)
> Programmer, Entrepreneur.
> http://www.linkedin.com/in/swestrup
> (+1) 514-626-0928
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201202/800d76c0/attachment.htm>
More information about the gstreamer-devel
mailing list