v4l2videoenc: Only renegotiate with upstream
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 28 Jun 2018 23:08:35 +0000 (19:08 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 29 Jun 2018 14:39:04 +0000 (10:39 -0400)
commit6704fbb044f17ddeef9ff70942ff6388fd41bf6a
tree0da4c12f2b6c82711406d04d67ccb1e105c193f4
parent025a430d0861bdbc3d8221bddeaa2adae85bfc3e
v4l2videoenc: Only renegotiate with upstream

When the decoder get linked further, it will receive a renegotiation
event from downstream. This case is not supported and should be ignored.

This fixes issues when this encoder is used inside an GstRtspServer
pipeline.

https://bugzilla.gnome.org/show_bug.cgi?id=796525
sys/v4l2/gstv4l2videoenc.c