diff options
author | Roland Jon <rlandjon@gmail.com> | 2018-07-24 18:40:36 +0800 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-10-18 13:03:31 +0100 |
commit | a15baf797603c6c65e442f488f20993d800bbbc1 (patch) | |
tree | f53b3c753537fb7d05544ef7802c9a9a63554e50 | |
parent | e0dee7f4c1d455280bfabe346477aeb6cbe3c223 (diff) | |
download | gst-plugins-base-a15baf797603c6c65e442f488f20993d800bbbc1.tar.gz gst-plugins-base-a15baf797603c6c65e442f488f20993d800bbbc1.tar.xz |
decodebin3: fix eos event leak
https://bugzilla.gnome.org/show_bug.cgi?id=796860
-rw-r--r-- | gst/playback/gstdecodebin3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c index 1a85026bd..cfe061ac3 100644 --- a/gst/playback/gstdecodebin3.c +++ b/gst/playback/gstdecodebin3.c @@ -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; } |