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.
flac.3
Romain Vimont 6 months ago
parent 11d738321f
commit 3c45625324

@ -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;
}

Loading…
Cancel
Save