Browse Source

obs-ffmpeg: Remove an empty clause

The empty clause was originally introduced to set a cutoff settings as a
hack at a commit ae862c16a and later removed at a commit a89470d2e. At
this time, the clause became empty but another commit aa58b9cf5 reuse
the clause and finally a commit 9baedb1c6 removes so that the clause is
empty now.
Norihiro Kamae 2 years ago
parent
commit
8938aeebfa
1 changed files with 0 additions and 3 deletions
  1. 0 3
      plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c

+ 0 - 3
plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c

@@ -263,9 +263,6 @@ static void *enc_create(obs_data_t *settings, obs_encoder_t *encoder,
 			enc->context->sample_rate = closest;
 	}
 
-	if (strcmp(enc->codec->name, "aac") == 0) {
-	}
-
 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 24, 100)
 	info("bitrate: %" PRId64 ", channels: %d, channel_layout: %x\n",
 	     (int64_t)enc->context->bit_rate / 1000,