fixed codecType

This commit is contained in:
georgemoralis 2024-11-08 07:49:23 +02:00
commit 48378d6d14

View file

@ -104,7 +104,7 @@ s32 VdecDecoder::Decode(const OrbisVideodecInputData& pInputDataIn,
CopyNV12Data((u8*)pFrameBufferInOut.pFrameBuffer, *frame); CopyNV12Data((u8*)pFrameBufferInOut.pFrameBuffer, *frame);
pPictureInfoOut.codecType = 1; pPictureInfoOut.codecType = 0;
pPictureInfoOut.frameWidth = frame->width; pPictureInfoOut.frameWidth = frame->width;
pPictureInfoOut.frameHeight = frame->height; pPictureInfoOut.frameHeight = frame->height;
pPictureInfoOut.framePitch = frame->linesize[0]; pPictureInfoOut.framePitch = frame->linesize[0];
@ -149,7 +149,7 @@ s32 VdecDecoder::Flush(OrbisVideodecFrameBuffer& pFrameBufferInOut,
CopyNV12Data((u8*)pFrameBufferInOut.pFrameBuffer, *frame); CopyNV12Data((u8*)pFrameBufferInOut.pFrameBuffer, *frame);
pPictureInfoOut.codecType = 1; pPictureInfoOut.codecType = 0;
pPictureInfoOut.frameWidth = frame->width; pPictureInfoOut.frameWidth = frame->width;
pPictureInfoOut.frameHeight = frame->height; pPictureInfoOut.frameHeight = frame->height;
pPictureInfoOut.framePitch = frame->linesize[0]; pPictureInfoOut.framePitch = frame->linesize[0];