projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee99cd7
)
flvmux: unref return of aggregator_pad_peek_buffer
author
Mathieu Duponchelle
<mathieu@centricular.com>
Fri, 13 Apr 2018 21:01:20 +0000
(23:01 +0200)
committer
Mathieu Duponchelle
<mathieu@centricular.com>
Fri, 13 Apr 2018 21:01:20 +0000
(23:01 +0200)
We ended up leaking every single buffer going through the
muxer, which is far from ideal
gst/flv/gstflvmux.c
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvmux.c
b/gst/flv/gstflvmux.c
index
2dc1817
..
6b248e4
100644
(file)
--- a/
gst/flv/gstflvmux.c
+++ b/
gst/flv/gstflvmux.c
@@
-1639,6
+1639,7
@@
gst_flv_mux_find_best_pad (GstAggregator * aggregator, GstClockTime * ts)
best_ts = t;
}
}
+ gst_buffer_unref (buffer);
}
GST_DEBUG_OBJECT (aggregator,
"Best pad found with %" GST_TIME_FORMAT ": %" GST_PTR_FORMAT,