mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
decodebin3: fix eos event leak
https://bugzilla.gnome.org/show_bug.cgi?id=796860
This commit is contained in:
parent
e0dee7f4c1
commit
a15baf7976
1 changed files with 2 additions and 0 deletions
|
@ -1825,6 +1825,8 @@ multiqueue_src_probe (GstPad * pad, GstPadProbeInfo * info,
|
|||
} else if (!was_drained) {
|
||||
check_all_slot_for_eos (dbin);
|
||||
}
|
||||
if (ret == GST_PAD_PROBE_HANDLED)
|
||||
gst_event_unref (ev);
|
||||
SELECTION_UNLOCK (dbin);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue