Require keyframes even for software H.264 decoding

This commit is contained in:
Cameron Gutman
2019-08-07 22:38:31 -07:00
parent ee7cb5123d
commit dbf98ce3a6
2 changed files with 0 additions and 8 deletions
@@ -68,13 +68,6 @@ bool SdlRenderer::prepareDecoderContext(AVCodecContext*)
return true;
}
int SdlRenderer::getDecoderCapabilities()
{
// The FFmpeg CPU decoder can handle reference frame invalidation,
// but only for H.264.
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_AVC;
}
void SdlRenderer::notifyOverlayUpdated(Overlay::OverlayType type)
{
// Construct the required font to render the overlay