Pass the maximum frame rate into FFmpeg renderers

This commit is contained in:
Cameron Gutman
2018-08-15 20:41:19 -07:00
parent e467ce7ce8
commit f171588616
11 changed files with 21 additions and 14 deletions
+2 -1
View File
@@ -33,7 +33,8 @@ bool SdlRenderer::prepareDecoderContext(AVCodecContext*)
bool SdlRenderer::initialize(SDL_Window* window,
int,
int width,
int height)
int height,
int)
{
m_Renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
if (!m_Renderer) {