mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
fixed codecType
This commit is contained in:
parent
4dcbc3724f
commit
48378d6d14
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue