thumbnail_util_error("This image format is not supported");
return THUMBNAIL_UTIL_ERROR_UNSUPPORTED_CONTENT;
}
+ } else if (type == THUMBNAIL_UTIL_VIDEO) {
+ return __thumbnail_util_error_capi(create_video_thumbnail_to_buffer(path, width, height, thumb_buffer, thumb_size, thumb_width, thumb_height, false));
}
thumb = calloc(1, sizeof(thumbnail_data_s));
thumbnail_util_error("Wrong file name[%s]", thumbnail_path);
return THUMBNAIL_UTIL_ERROR_INVALID_PARAMETER;
}
+
+ return __thumbnail_util_error_capi(create_video_thumbnail_to_file(path, width, height, thumbnail_path, false));
}
thumb = calloc(1, sizeof(thumbnail_data_s));