obs-ffmpeg: Properly name FFmpeg lib used

Cosmetic but this was nagging me since I had authored those lines.
This commit is contained in:
pkv 2021-11-06 19:00:08 -04:00 committed by Ryan Foster
parent c398ac9739
commit f32c2b0fbb
2 changed files with 3 additions and 3 deletions

View File

@ -452,10 +452,10 @@ static void create_audio_stream(struct ffmpeg_mux *ffm, int idx)
context->extradata_size = ffm->audio_header[idx].size;
context->channel_layout =
av_get_default_channel_layout(context->channels);
//AVlib default channel layout for 4 channels is 4.0 ; fix for quad
//avutil default channel layout for 4 channels is 4.0 ; fix for quad
if (context->channels == 4)
context->channel_layout = av_get_channel_layout("quad");
//AVlib default channel layout for 5 channels is 5.0 ; fix for 4.1
//avutil default channel layout for 5 channels is 5.0 ; fix for 4.1
if (context->channels == 5)
context->channel_layout = av_get_channel_layout("4.1");
if (ffm->output->oformat->flags & AVFMT_GLOBALHEADER)

View File

@ -345,7 +345,7 @@ static bool create_audio_stream(struct ffmpeg_data *data, int idx)
context->channel_layout =
av_get_default_channel_layout(context->channels);
//AVlib default channel layout for 5 channels is 5.0 ; fix for 4.1
//avutil default channel layout for 5 channels is 5.0 ; fix for 4.1
if (aoi.speakers == SPEAKERS_4POINT1)
context->channel_layout = av_get_channel_layout("4.1");