Helpful for debugging the new swscale code, since it dumps the operations list in verbose logging mode.
Unified · Split
| @@ -526,6 +526,8 @@ int main(int argc, char **argv) · 525 unmodified lines | ||
| 526 | 526 | " Use the specified number of threads\n" |
| 527 | 527 | " -cpuflags <cpuflags>\n" |
| 528 | 528 | " Uses the specified cpuflags in the tests\n" |
| 529 | + " -v <level>\n" | |
| 530 | + " Enable log verbosity at given level\n" | |
| 529 | 531 | ); |
| 530 | 532 | return 0; |
| 531 | 533 | } |
| @@ -573,6 +575,8 @@ int main(int argc, char **argv) · 41 unmodified lines | ||
| 573 | 575 | opts.threads = atoi(argv[i + 1]); |
| 574 | 576 | } else if (!strcmp(argv[i], "-p")) { |
| 575 | 577 | opts.prob = atof(argv[i + 1]); |
| 578 | + } else if (!strcmp(argv[i], "-v")) { | |
| 579 | + av_log_set_level(atoi(argv[i + 1])); | |
| 576 | 580 | } else { |
| 577 | 581 | bad_option: |
| 578 | 582 | fprintf(stderr, "bad option or argument missing (%s) see -help\n", argv[i]); |