commit | f977cd8ab11bb7dd225da4a0cc7d56f184ae33c3 | [log] [tgz] |
---|---|---|
author | Mathieu Duponchelle <mathieu@centricular.com> | Fri Apr 13 23:01:20 2018 +0200 |
committer | Sebastian Dröge <sebastian@centricular.com> | Mon Apr 16 11:12:02 2018 +0300 |
tree | ec046a890e174b76418be23a2274e383ea96f44f | |
parent | 59a24f074fb532ddddd24f25b96ac7f67ddec150 [diff] |
flvmux: unref return of aggregator_pad_peek_buffer We ended up leaking every single buffer going through the muxer, which is far from ideal
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 2efb3d2..68e6572 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c
@@ -1639,6 +1639,7 @@ best_ts = t; } } + gst_buffer_unref (buffer); } GST_DEBUG_OBJECT (aggregator, "Best pad found with %" GST_TIME_FORMAT ": %" GST_PTR_FORMAT,