Add reference frame invalidation for the software decoder

This commit is contained in:
Cameron Gutman
2018-08-25 12:38:04 -07:00
parent 55f0e1e1d5
commit 9be9934b8c
14 changed files with 46 additions and 0 deletions

View File

@@ -27,6 +27,11 @@ bool FFmpegVideoDecoder::isHardwareAccelerated()
return m_HwDecodeCfg != nullptr;
}
int FFmpegVideoDecoder::getDecoderCapabilities()
{
return m_Renderer->getDecoderCapabilities();
}
enum AVPixelFormat FFmpegVideoDecoder::ffGetFormat(AVCodecContext* context,
const enum AVPixelFormat* pixFmts)
{