alphadecodebin: Fix stall due to QoS
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 14 Jun 2021 20:04:52 +0000 (16:04 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 14 Jun 2021 20:33:15 +0000 (16:33 -0400)
commit4ac9f919216e567642f9e91c42061c163b1fec02
tree6874388cda2dda3035c67eb31a5baa48d1c163f5
parenta71ec17cf0f966335fe6904399202722460c182d
alphadecodebin: Fix stall due to QoS

alphacombine element is a simple element that assumes buffers are always
paired, or at least that missing buffers are signalled with a GAP. The QoS
implementation in the GstVideoDecoder base class allow decoders dropping
frames independently and that could lead to stall in alphacombine.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2326>
gst/codecalpha/gstalphadecodebin.c
sys/v4l2codecs/gstv4l2codecalphadecodebin.c