diff options
-rwxr-xr-x | gstcs/mm_util_gstcs.c | 4 | ||||
-rwxr-xr-x | packaging/libmm-imgp-gstcs.spec | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gstcs/mm_util_gstcs.c b/gstcs/mm_util_gstcs.c index 8290c45..1a9d7f7 100755 --- a/gstcs/mm_util_gstcs.c +++ b/gstcs/mm_util_gstcs.c @@ -444,7 +444,7 @@ _mm_round_up_input_image_widh_height(image_format_s* pFormat) } else if (strcmp(pFormat->colorspace, "RGB") == 0) { pFormat->stride = MM_UTIL_ROUND_UP_4(pFormat->width); pFormat->elevation = MM_UTIL_ROUND_UP_2(pFormat->height); - } else if (strcmp(pFormat->colorspace, "RGBA") == 0) { + } else if ((strcmp(pFormat->colorspace, "RGBA") == 0) || (strcmp(pFormat->colorspace, "BGRX") == 0)) { pFormat->stride = pFormat->width; pFormat->elevation = MM_UTIL_ROUND_UP_2(pFormat->height); } @@ -497,7 +497,7 @@ _mm_round_up_output_image_widh_height(image_format_s* pFormat, const image_forma pFormat->width = pFormat->stride; if (input_format->height != input_format->elevation) pFormat->height = pFormat->elevation; - } else if (strcmp(pFormat->colorspace, "RGBA") == 0) { + } else if ((strcmp(pFormat->colorspace, "RGBA") == 0) || (strcmp(pFormat->colorspace, "BGRX") == 0)) { pFormat->stride = pFormat->width; pFormat->elevation = MM_UTIL_ROUND_UP_2(pFormat->height); if (input_format->height != input_format->elevation) diff --git a/packaging/libmm-imgp-gstcs.spec b/packaging/libmm-imgp-gstcs.spec index a7ecda0..1eee8a2 100755 --- a/packaging/libmm-imgp-gstcs.spec +++ b/packaging/libmm-imgp-gstcs.spec @@ -1,7 +1,7 @@ #sbs-git:slp/pkgs/l/libmm-imgp-gstcs libmm-imgp-gstcs 0.1 62b62e6d483557fc5750d1b4986e9a98323f1194 Name: libmm-imgp-gstcs Summary: Multimedia Framework Utility Library -Version: 0.16 +Version: 0.17 Release: 16 Group: System/Libraries License: Apache-2.0 |