src_fmt_lable = (char *)"BGRX";
break;
default:
- mm_util_debug("[%d] Not supported format", src_fmt_lable);
+ mm_util_debug("[%d] Not supported format", src_format);
break;
}
if (media_packet_get_buffer_size(handle->src_packet, &size) == MEDIA_PACKET_ERROR_NONE) {
handle->src_buf_size = (guint)size;
- mm_util_debug("src buffer(%p) %d size: %d", handle->src_packet, handle->src_packet, handle->src_buf_size);
+ mm_util_debug("src buffer(%p) size: %d", handle->src_packet, handle->src_buf_size);
} else {
mm_util_error("Error buffer size");
}
handle->dst_format_mime = src_mimetype;
}
- mm_util_debug("src: %p handle->src_packet: %p (%d),(%d X %d)", src_packet, handle->src_packet, handle->src_packet, handle->src_width, handle->src_height);
+ mm_util_debug("src: %p handle->src_packet: %p (%d X %d)", src_packet, handle->src_packet, handle->src_width, handle->src_height);
if (handle->set_rotate) {
if ((handle->set_crop) || (handle->set_resize)) {
switch (handle->dst_rotation) {
{
uint64_t size = 0;
char* output_file = (char *)user_data;
- mm_util_debug("imgp_handle: 0x%2x", imgp_handle);
+ mm_util_debug("imgp_handle: %p", imgp_handle);
mm_util_debug("output_file: %s", output_file);
_signal();
return FALSE;
}
- mm_util_debug("dst: %p [%d]", dst, size);
+ mm_util_debug("dst: %p [%llu]", dst, size);
fwrite(dst, 1, size, fp);
mm_util_debug("FREE");
fclose(fp);
{ /* write output file */
FILE *fpout = fopen(output_file, "w");
if (fpout) {
- mm_util_debug("dst: %p [%d]", dst, dst_size);
+ mm_util_debug("dst: %p [%llu]", dst, dst_size);
fwrite(dst, 1, dst_size, fpout);
mm_util_debug("FREE");
fclose(fpout);
/* Create Transform */
ret = mm_util_create(&imgp_handle);
if (ret == MM_UTIL_ERROR_NONE) {
- mm_util_debug("Success - Create Transcode Handle [imgp_handle: 0x%2x]", imgp_handle);
+ mm_util_debug("Success - Create Transcode Handle [imgp_handle: %p]", imgp_handle);
} else {
mm_util_debug("ERROR - Create Transcode Handle");
goto TEST_FAIL;