Commit c81b2f62 authored by Nicolas Dufresne's avatar Nicolas Dufresne

filesink: Fix wrong printf format

We add a guint64 and a guint, the result is a guint64. On 64bit
architecture, this is the same, but on 32bit architecture, it's not.
parent 616d588b
......@@ -773,7 +773,7 @@ gst_file_sink_render_list (GstBaseSink * bsink, GstBufferList * buffer_list)
"Queueing buffer list of %u bytes (%u buffers) at offset %"
G_GSIZE_FORMAT, size, num_buffers,
G_GUINT64_FORMAT, size, num_buffers,
sink->current_pos + sink->current_buffer_size);
for (i = 0; i < num_buffers; ++i)
......@@ -828,7 +828,7 @@ gst_file_sink_render (GstBaseSink * sink, GstBuffer * buffer)
} else if (n_mem > 0) {
"Queueing buffer of %" G_GSIZE_FORMAT " bytes at offset %"
G_GSIZE_FORMAT, gst_buffer_get_size (buffer),
G_GUINT64_FORMAT, gst_buffer_get_size (buffer),
filesink->current_pos + filesink->current_buffer_size);
filesink->current_buffer_size += gst_buffer_get_size (buffer);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment