--- a/QTfrontend/net/recorder.cpp Mon Jul 16 23:27:15 2018 +0200
+++ b/QTfrontend/net/recorder.cpp Tue Jul 17 12:17:11 2018 +0200
@@ -140,7 +140,10 @@
// Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both.
// The library does support using both at once after all.
arguments << QString::number(config->rec_Bitrate()*1024);
- arguments << (config->recordAudio() ? config->audioCodec() : "no");
+ if (config->recordAudio() && (config->isSoundEnabled() || config->isMusicEnabled()))
+ arguments << config->audioCodec();
+ else
+ arguments << "no";
return arguments;
}