mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
add a very crude progress report for lossless
better than nothing. Removed the warning in cwebp.c (and silenced the warning in quiet mode too) Change-Id: I85bbeaf77e0f60ead798886043dc053e6b44def5
This commit is contained in:
committed by
James Zern
parent
ce156afccf
commit
0275159143
@ -1049,7 +1049,7 @@ int main(int argc, const char *argv[]) {
|
||||
|
||||
// Check for unsupported command line options for lossless mode and log
|
||||
// warning for such options.
|
||||
if (config.lossless == 1) {
|
||||
if (!quiet && config.lossless == 1) {
|
||||
if (config.target_size > 0 || config.target_PSNR > 0) {
|
||||
fprintf(stderr, "Encoding for specified size or PSNR is not supported"
|
||||
" for lossless encoding. Ignoring such option(s)!\n");
|
||||
@ -1058,10 +1058,6 @@ int main(int argc, const char *argv[]) {
|
||||
fprintf(stderr, "Partition limit option is not required for lossless"
|
||||
" encoding. Ignoring this option!\n");
|
||||
}
|
||||
if (show_progress) {
|
||||
fprintf(stderr, "Progress reporting option is not supported for lossless"
|
||||
" encoding. Ignoring this option!\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (!WebPValidateConfig(&config)) {
|
||||
|
Reference in New Issue
Block a user