obs-outputs: Use actual audio encoder sample rate

master
jp9000 2015-07-09 10:43:32 -07:00
parent 9f96e691ae
commit 50b47a6861
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ static void add_audio_encoder_params(struct dstr *cmd, obs_encoder_t *aencoder)
dstr_catf(cmd, "\"%s\" %d %d %d ", dstr_catf(cmd, "\"%s\" %d %d %d ",
name.array, name.array,
bitrate, bitrate,
(int)audio_output_get_sample_rate(audio), (int)obs_encoder_get_sample_rate(aencoder),
(int)audio_output_get_channels(audio)); (int)audio_output_get_channels(audio));
dstr_free(&name); dstr_free(&name);