videodecoder: Post QoS when we drop because of QoS
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 2 Oct 2018 15:09:33 +0000 (11:09 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 2 Nov 2019 14:36:01 +0000 (14:36 +0000)
commit1570314609d053a8f1971a781735647fe039d758
tree708ccc85323da6a242e4345fcc94d89d04413020
parentb418b4b6ec671b203d9fc1dd9be441bb12edea6a
videodecoder: Post QoS when we drop because of QoS

At the moment, we only posted QoS messages when frame_drop() was
called, but not in finish_frame() when QoS triggered a late push.
This should fix applications that tries to account the dropped
frames. We also emit a warning on drops so it's more clear what is
happening.
gst-libs/gst/video/gstvideodecoder.c