mirror of https://github.com/Genymobile/scrcpy
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:
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…
Reference in New Issue