Commit 6f2dcbe6 authored by Mickaël Turnel's avatar Mickaël Turnel

Resfresh framerate controller on Android when setting fps

parent cdac23f0
......@@ -99,6 +99,8 @@ static AndroidReaderContext *getContext(MSFilter *f);
static int video_capture_set_fps(MSFilter *f, void *arg){
AndroidReaderContext* d = (AndroidReaderContext*) f->data;
d->fps=*((float*)arg);
ms_video_init_framerate_controller(&d->fpsControl, d->fps);
ms_video_init_average_fps(&d->averageFps, d->fps_context);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment