aomenc: Don't print warning in quiet mode.
Change-Id: I8a23fcf0839c2c2b1d638c3e0fc9d4e5a09f1269
This commit is contained in:
Родитель
002e7b7a03
Коммит
51c048eb2b
4
aomenc.c
4
aomenc.c
|
@ -2056,7 +2056,7 @@ int main(int argc, const char **argv_) {
|
||||||
if (stream->config.cfg.g_profile > 1) {
|
if (stream->config.cfg.g_profile > 1) {
|
||||||
stream->config.use_16bit_internal = 1;
|
stream->config.use_16bit_internal = 1;
|
||||||
}
|
}
|
||||||
if (profile_updated) {
|
if (profile_updated && !global.quiet) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Warning: automatically upgrading to profile %d to "
|
"Warning: automatically upgrading to profile %d to "
|
||||||
"match input format.\n",
|
"match input format.\n",
|
||||||
|
@ -2080,7 +2080,7 @@ int main(int argc, const char **argv_) {
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (profile_updated) {
|
if (profile_updated && !global.quiet) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Warning: automatically upgrading to profile %d to "
|
"Warning: automatically upgrading to profile %d to "
|
||||||
"match input format.\n",
|
"match input format.\n",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче