decodebin3: Specify stream-id for missing decoder

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6886>
This commit is contained in:
Edward Hervey 2024-05-21 10:54:46 +02:00 committed by GStreamer Marge Bot
parent c987eaa427
commit 94646c642d

View file

@ -3989,6 +3989,8 @@ missing_decoder:
GST_DEBUG_OBJECT (slot->src_pad,
"We are missing a decoder for %" GST_PTR_FORMAT, caps);
*msg = gst_missing_decoder_message_new (GST_ELEMENT_CAST (dbin), caps);
gst_missing_plugin_message_set_stream_id (*msg,
gst_stream_get_stream_id (slot->active_stream));
gst_caps_unref (caps);
/* FALLTHROUGH */