summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgstcs/mm_util_gstcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gstcs/mm_util_gstcs.c b/gstcs/mm_util_gstcs.c
index 23fa8ab..fb83b26 100755
--- a/gstcs/mm_util_gstcs.c
+++ b/gstcs/mm_util_gstcs.c
@@ -46,7 +46,7 @@ _mm_sink_sample(GstElement * appsink, gpointer user_data)
if (pGstreamer_s->output_buffer != NULL) {
GstMapInfo mapinfo = GST_MAP_INFO_INIT;
gst_buffer_map(pGstreamer_s->output_buffer, &mapinfo, GST_MAP_READ);
- gstcs_debug("Create Output Buffer: GST_BUFFER_DATA: %p\t GST_BUFFER_SIZE: %d", mapinfo.data, mapinfo.size);
+ gstcs_debug("Create Output Buffer: GST_BUFFER_DATA: %p\t GST_BUFFER_SIZE: %zu", mapinfo.data, mapinfo.size);
gst_buffer_unmap(pGstreamer_s->output_buffer, &mapinfo);
} else {
gstcs_error("ERROR -Input Prepare Buffer! Check createoutput buffer function");
@@ -367,7 +367,7 @@ static size_t _mm_setup_image_size(mm_util_color_format_e color_format, unsigned
}
- gstcs_debug("Image size [%u]", size);
+ gstcs_debug("Image size [%zu]", size);
return size;
}