Commit 40d59bd8 authored by François Cartegnie's avatar François Cartegnie 🤞

codec: aom: set max encoder lag

otherwise will queue up to few mins
and before returning first frame
which borks sout (no pcr !)
parent fda3d161
......@@ -423,6 +423,7 @@ static int OpenEncoder(vlc_object_t *p_this)
enccfg.g_threads = __MIN(vlc_GetCPUCount(), 4);
enccfg.g_w = p_enc->;
enccfg.g_h = p_enc->;
enccfg.g_lag_in_frames = 16; /* we have no pcr on sout */
int enc_flags;
int i_profile = var_InheritInteger( p_enc, SOUT_CFG_PREFIX "profile" );
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