mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
flvmux: unref return of aggregator_pad_peek_buffer
We ended up leaking every single buffer going through the muxer, which is far from ideal
This commit is contained in:
parent
ee99cd7037
commit
fc9db36a1f
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue