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
@@ -16,7 +16,8 @@ public:
virtual bool initialize(SDL_Window* window,
int videoFormat,
int width,
int height);
int height,
int maxFps);
virtual bool prepareDecoderContext(AVCodecContext* context);
virtual void renderFrame(AVFrame* frame);