adaptivedemux: Fix leak of pad probes in GstAdaptiveDemuxStream
authorTom Bailey <tom.bailey@youview.com>
Wed, 2 Aug 2017 17:17:08 +0000 (18:17 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 8 Aug 2017 15:04:42 +0000 (16:04 +0100)
commit4064683d36ba8eb8732b904be0bdaedc38b013fc
treeeb9020e120c261dc07d87087b0e6864c31312137
parentf0500ec8b429b2ad44ac053982022f16296f51fd
adaptivedemux: Fix leak of pad probes in GstAdaptiveDemuxStream

This commit ensures that the idle probe which GstAdaptiveDemuxStream
adds to the upstream source pad is removed after use. Previously a new
probe was added to the pad whenever a fragment was downloaded, meaning
the number of pad probe callbacks being executed increased continually.

https://bugzilla.gnome.org/show_bug.cgi?id=785957
gst-libs/gst/adaptivedemux/gstadaptivedemux.c