From 48378d6d14ba80735be678e4300e00fc7b229a8f Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Fri, 8 Nov 2024 07:49:23 +0200 Subject: [PATCH] fixed codecType --- src/core/libraries/videodec/videodec_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libraries/videodec/videodec_impl.cpp b/src/core/libraries/videodec/videodec_impl.cpp index 2a08f2029..b9676d25b 100644 --- a/src/core/libraries/videodec/videodec_impl.cpp +++ b/src/core/libraries/videodec/videodec_impl.cpp @@ -104,7 +104,7 @@ s32 VdecDecoder::Decode(const OrbisVideodecInputData& pInputDataIn, CopyNV12Data((u8*)pFrameBufferInOut.pFrameBuffer, *frame); - pPictureInfoOut.codecType = 1; + pPictureInfoOut.codecType = 0; pPictureInfoOut.frameWidth = frame->width; pPictureInfoOut.frameHeight = frame->height; pPictureInfoOut.framePitch = frame->linesize[0]; @@ -149,7 +149,7 @@ s32 VdecDecoder::Flush(OrbisVideodecFrameBuffer& pFrameBufferInOut, CopyNV12Data((u8*)pFrameBufferInOut.pFrameBuffer, *frame); - pPictureInfoOut.codecType = 1; + pPictureInfoOut.codecType = 0; pPictureInfoOut.frameWidth = frame->width; pPictureInfoOut.frameHeight = frame->height; pPictureInfoOut.framePitch = frame->linesize[0];