History

avtools: parse loglevel before all the other options.

This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.

Anton Khirnov committed 15 years ago

Commit 182cbe41 parent 4ca59d17 files · +45 −0Browse files

Showing the changes to avserver.c (1 of 7 files). Show all

Unified · Split

avserver.c+1−0
@@ -4668,6 +4668,7 @@ int main(int argc, char **argv) · 4667 unmodified lines
46684668 {
46694669 struct sigaction sigact;
46704670
4671+ parse_loglevel(argc, argv, options);
46714672 av_register_all();
46724673
46734674 show_banner();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t