Commit e86a36e3 authored by François Grisez's avatar François Grisez

Disable video starter on first VFU request receiving

parent a32ab0aa
......@@ -340,6 +340,7 @@ static int h264_enc_set_fps(MSFilter *f, const float *fps) {
static int h264_enc_req_vfu(MSFilter *f, void *ptr) {
VTH264EncCtx *ctx = (VTH264EncCtx *)f->data;
ms_filter_lock(f);
ms_video_starter_deactivate(&ctx->starter);
ms_iframe_requests_limiter_require_iframe(&ctx->iframe_limiter);
ms_filter_unlock(f);
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