|
@@ -160,6 +160,8 @@ static void *aac_create(obs_data_t settings, obs_encoder_t encoder)
|
|
/* enable experimental FFmpeg encoder if the only one available */
|
|
/* enable experimental FFmpeg encoder if the only one available */
|
|
enc->context->strict_std_compliance = -2;
|
|
enc->context->strict_std_compliance = -2;
|
|
|
|
|
|
|
|
+ enc->context->flags = CODEC_FLAG_GLOBAL_HEADER;
|
|
|
|
+
|
|
if (initialize_codec(enc))
|
|
if (initialize_codec(enc))
|
|
return enc;
|
|
return enc;
|
|
|
|
|