Add a decoder/renderer callback to specify the desired color range
This commit is contained in:
parent
7a39daf179
commit
c55af7fff3
7 changed files with 20 additions and 2 deletions
|
|
@ -68,6 +68,12 @@ SLVideoDecoder::getDecoderColorspace()
|
|||
return COLORSPACE_REC_709;
|
||||
}
|
||||
|
||||
int
|
||||
SLVideoDecoder::getDecoderColorRange()
|
||||
{
|
||||
return COLOR_RANGE_LIMITED;
|
||||
}
|
||||
|
||||
QSize SLVideoDecoder::getDecoderMaxResolution()
|
||||
{
|
||||
return QSize(1920, 1080);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue