videodecoder: Gracefully handle missing data without prior input segment
authorPhilippe Normand <philn@igalia.com>
Mon, 23 Dec 2024 08:49:51 +0000 (09:49 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 23 Dec 2024 10:49:28 +0000 (10:49 +0000)
commit17e5491b6091ab2443567f0fb454f191a1321e85
tree273b1aca0d3625a0aabb45163447245506ad6996
parent7152d5c07a64587cea8396ae77be05cad57ee44b
videodecoder: Gracefully handle missing data without prior input segment

Exit early in case the decoder has been resetted and hasn't received a new
segment event yet.

This was detected with netsim dropping buffers in a WebRTC pipeline.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8200>
subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c