v4l2src: Try to avoid TRY_FMT when camera is streaming
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 11 Jul 2018 16:21:44 +0000 (12:21 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 11 Jul 2018 23:05:00 +0000 (19:05 -0400)
commitb12b8b0b220e5856695f40a3079293a73b52fb65
treee563d8fc9e0076ec56cfbfd250328902508746d8
parentc87f9eb37bd18bb1ec0a44fef0c2e17bbdd7663f
v4l2src: Try to avoid TRY_FMT when camera is streaming

Some camera firmware crash is TRY_FMT is called during streaming. As a
side effect. This try and detect that the same format as currently
running is about to be tried, and skip renegotiation.

https://bugzilla.gnome.org/show_bug.cgi?id=796789
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2src.c