avviddec: Report flow error when decoder refused packet
authorPhilippe Normand <philn@igalia.com>
Thu, 24 Nov 2022 17:39:50 +0000 (17:39 +0000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 30 Nov 2022 11:51:12 +0000 (11:51 +0000)
commit090cf943ed37cf6122e4035704bc7a9b220cfdb4
tree23ffa0225433af0cffe35a8db237051bf68db77f
parentfa863b2b7f9b23746c64f96911c05a5e9ac38f0b
avviddec: Report flow error when decoder refused packet

In cases where an invalid input packet is submitted to the decoder we emit a
warning but reporting the flow error upstream would also be useful. This came up
with a case were the application interacts directly with the decoder, using a
mechanism similar to GstHarness.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3463>
subprojects/gst-libav/ext/libav/gstavviddec.c