[Bug 779466] v4l2: improve v4l2dec auto-negotiation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 2 14:51:36 UTC 2017


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

--- Comment #6 from Michael Tretter <m.tretter at pengutronix.de> ---
(In reply to Nicolas Dufresne (stormer) from comment #5)
> Review of attachment 347046 [details] [review]:
> 
> It's the SRC that should provide the rate, not the sink. Is duration on the
> v4l2-output correct?

I do not use a v4l2-output as sink, but the kmssink, which reports a framerate
range and the caps negotiation results in a framerate of 0/1. It's a driver bug
to accept this framerate, but this leads to an invalid duration on the decoder
src and there should be a warning instead of using the invalid duration for
calculating a latency.

As the output does not request a specific framerate, I want to use the
framerate that is reported by the encoded video. The other patch allows to set
the framerate on the output and then read it on capture and use it for
calculating the latency.

-- 
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