mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
multifilesink: fix buffer list size calculation in render_list
Fix uninitialized 'size' variable in call to gst_buffer_list_foreach().
This commit is contained in:
parent
54c63dac31
commit
7112b93a97
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ static GstFlowReturn
|
||||||
gst_multi_file_sink_render_list (GstBaseSink * sink, GstBufferList * list)
|
gst_multi_file_sink_render_list (GstBaseSink * sink, GstBufferList * list)
|
||||||
{
|
{
|
||||||
GstBuffer *buf;
|
GstBuffer *buf;
|
||||||
guint size;
|
guint size = 0;
|
||||||
|
|
||||||
gst_buffer_list_foreach (list, buffer_list_calc_size, &size);
|
gst_buffer_list_foreach (list, buffer_list_calc_size, &size);
|
||||||
GST_LOG_OBJECT (sink, "total size of buffer list %p: %u", list, size);
|
GST_LOG_OBJECT (sink, "total size of buffer list %p: %u", list, size);
|
||||||
|
|
Loading…
Reference in a new issue