Pass the maximum frame rate into FFmpeg renderers

This commit is contained in:
Cameron Gutman committed 2018-08-15 20:41:19 -07:00
1 parent e467ce7ce8
commit f171588616
11 files changed
+21 -14

No files matched your search

+2 -1
View File
@@ -17,7 +17,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);