[Bug 759470] input-selector: add mode that waits for keyframe before switching inputs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 22 11:56:16 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759470

--- Comment #17 from Tapas Kumar Kundu <tapascst at gmail.com> ---
(In reply to Thiago Sousa Santos from comment #16)
> <thiagoss> tapas, do you understand why it still takes 1s to switch? Your
> patch makes it wait for a keyframe, so it will only switch when it gets a
> keyframe. Which likely happens 1s after you request the switch.
> 
> That said, it doesn't mean that your patch isn't useful, it is. It just
> doesn't seem to do what you'd expect because it still needs to wait before
> switching. To switch immediately you'd need to keep the last keyframe and
> all the buffers after it for every pad so you could switch immediately when
> requested. This could be a 3rd operation mode (requires more memory).

Here the debug log from input-selector element:
https://drive.google.com/file/d/0B1cSMS8_GuAEeVM5MV9FOVlSZzA/view?usp=sharing

You can search for "startcam" to see exact line where camera switch happens
from application side. This is generated with proposed patch on git master.

I really need some help to understand where the delay is occurring inside
input-selector element during cam switch. 

Could you please take a look at this log ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list