MMFMWK-7996 vpudec: enable vpudec on mscale 845s
fix h265 crash by disable compress
Signed-off-by: Haihua Hu <jared.hu@nxp.com>
diff --git a/plugins/vpu/gstvpudecobject.c b/plugins/vpu/gstvpudecobject.c
index ad7c345..a462b7b 100755
--- a/plugins/vpu/gstvpudecobject.c
+++ b/plugins/vpu/gstvpudecobject.c
@@ -533,6 +533,8 @@
open_param->nTiled2LinearEnable = 0;
}
open_param->nEnableVideoCompressor = 1;
+ if (IS_IMX8MM())
+ open_param->nEnableVideoCompressor = 0;
vpu_dec_object->output_format_decided = GST_VIDEO_FORMAT_NV12;
if (open_param->CodecFormat == VPU_V_MJPG) {
vpu_dec_object->is_mjpeg = TRUE;