decodebin3: fix eos event leak

https://bugzilla.gnome.org/show_bug.cgi?id=796860
This commit is contained in:
Roland Jon 2018-07-24 18:40:36 +08:00 committed by Tim-Philipp Müller
parent e0dee7f4c1
commit a15baf7976

View file

@ -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;
}