obs-libfdk: Set bitstream to ADTS for mpegts output

This sets the aac bitstream to ADTS for the mpegts output.
This fixes a bug with mpegts ouput where the avformat muxer issues
an error with fdk-aac encoder.

Signed-off-by: pkv <pkv@obsproject.com>
This commit is contained in:
pkv
2022-03-19 15:25:02 -07:00
committed by Jim
parent dde2fe209a
commit c8b2db9760
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -122,6 +122,7 @@ static void rtmp_custom_apply_settings(void *data, obs_data_t *video_settings,
strncmp(service->server, RTMP_PROTOCOL, strlen(RTMP_PROTOCOL)) !=
0) {
obs_data_set_bool(video_settings, "repeat_headers", true);
obs_data_set_bool(audio_settings, "set_to_ADTS", true);
}
}