Log recording RAW audio codec as error

It is not possible to record with a RAW audio codec, so the log before
exiting should be an error rather than a warning.
This commit is contained in:
Romain Vimont 2023-11-11 10:54:13 +01:00
parent 11d738321f
commit 3c45625324
1 changed files with 1 additions and 1 deletions

View File

@ -2353,7 +2353,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
}
if (opts->audio_codec == SC_CODEC_RAW) {
LOGW("Recording does not support RAW audio codec");
LOGE("Recording does not support RAW audio codec");
return false;
}