mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
decodebin3: Fix potential NULL pointer dereference on slot deactivation
CID 1363331
This commit is contained in:
parent
bd9fd89d61
commit
033057cf74
1 changed files with 3 additions and 1 deletions
|
@ -2267,7 +2267,9 @@ handle_stream_switch (GstDecodebin3 * dbin, GList * select_streams,
|
|||
if (slot_to_deactivate) {
|
||||
GST_DEBUG_OBJECT (dbin,
|
||||
"Slot %p (%s) should be deactivated, no longer used", slot,
|
||||
gst_stream_get_stream_id (slot->active_stream));
|
||||
slot->
|
||||
active_stream ? gst_stream_get_stream_id (slot->active_stream) :
|
||||
"NULL");
|
||||
to_deactivate = g_list_append (to_deactivate, slot);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue