v4l2videodec: add cap negotiation fail check in the capture configuration change
authorElliot Chen <elliot.chen@nxp.com>
Wed, 31 Aug 2022 03:13:06 +0000 (11:13 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 17 Sep 2022 21:21:22 +0000 (21:21 +0000)
commite76e98d109e04253ac329f940cacca290e252710
tree49e6792eabfeea176052d02a0213fe267dd4ed21
parenta8387fdc6b6ee67c35bb587abc631563185490f4
v4l2videodec: add cap negotiation fail check in the capture configuration change

The capture configuration change may cause negotiation fail.
Need to check it to avoid enter the endless loop.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2960>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c