Specify video transfer matrix for SLVideo
This commit is contained in:
parent
6230a99360
commit
5e5470ae12
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ SLVideoDecoder::initialize(PDECODER_PARAMETERS params)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SLVideo_SetStreamVideoTransferMatrix(m_VideoStream, k_ESLVideoTransferMatrix_BT709);
|
||||||
SLVideo_SetStreamTargetFramerate(m_VideoStream, params->frameRate, 1);
|
SLVideo_SetStreamTargetFramerate(m_VideoStream, params->frameRate, 1);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue