Allow decoders to choose a desired colorspace
This commit is contained in:
parent
88930a9de4
commit
160684f23e
7 changed files with 21 additions and 0 deletions
|
|
@ -50,6 +50,11 @@ int FFmpegVideoDecoder::getDecoderCapabilities()
|
|||
return m_BackendRenderer->getDecoderCapabilities();
|
||||
}
|
||||
|
||||
int FFmpegVideoDecoder::getDecoderColorspace()
|
||||
{
|
||||
return m_FrontendRenderer->getDecoderColorspace();
|
||||
}
|
||||
|
||||
enum AVPixelFormat FFmpegVideoDecoder::ffGetFormat(AVCodecContext* context,
|
||||
const enum AVPixelFormat* pixFmts)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue