Switching Streams sent via GstBaseSrc

Stirling Westrup swestrup at gmail.com
Wed Dec 2 18:58:17 UTC 2020


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? I tried 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.



-- 
Stirling Westrup (he/him)
Programmer, Entrepreneur.
http://www.linkedin.com/in/swestrup
(+1) 514-626-0928


More information about the gstreamer-devel mailing list