v4l2videodec: replace multiple decoder bug warnings with single one
authorfduncanh <fduncanh@gmail.com>
Sat, 28 May 2022 19:04:10 +0000 (15:04 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 2 Jul 2022 23:56:00 +0000 (23:56 +0000)
commit735723c230f529d0a861a34fe0abc851eb5b4d88
tree0b7e25df3919c31e0cd67e0608ad55903a812fe5
parent5f39388ae50ad1bd4d2f7e2cdda1bb59775b37ad
v4l2videodec: replace multiple decoder bug warnings with single one

Achieve this by dropping frames after a drain if the driver failed to so.
This works around RaspberryPi driver issue [1].

[1] https://github.com/raspberrypi/linux/issues/5059#issuecomment-

Fixes #1103

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