MMFMWK-7378 [mx8mq] Enable Hantro video decoder on GStreamer.

Only change call sequence for HEVC/AVC/VP9.

Signed-off-by: Song Bing <bing.song@nxp.com>
diff --git a/plugins/vpu/gstvpudecobject.c b/plugins/vpu/gstvpudecobject.c
index 545d168..01b7f7c 100755
--- a/plugins/vpu/gstvpudecobject.c
+++ b/plugins/vpu/gstvpudecobject.c
@@ -836,7 +836,7 @@
     return GST_FLOW_ERROR;
   }
 
-  if (IS_HANTRO()) {
+  if (IS_HANTRO() && vpu_dec_object->implement_config) {
     VpuBufferNode in_data = {0};
     int buf_ret;
     VPU_DecDecodeBuf(vpu_dec_object->handle, &in_data, &buf_ret);