-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to specify dispmanx layer #4
base: master
Are you sure you want to change the base?
Conversation
Set Layer number to argument 2.
@nagualcode I would look into the PRs over this weekend. Apologies for all the delay |
@@ -20,8 +20,9 @@ static void signalHandler(int signalNumber) | |||
void usage(const char *program) | |||
{ | |||
fprintf(stderr, "Usage: %s ", program); | |||
fprintf(stderr, "<file> [x y w h]\n"); | |||
fprintf(stderr, "<file> l [x y w h]\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The []
here denotes optional param so I think the layer should also be denoted as optional > [l] [
fprintf(stderr, " file png or jpeg file to display\n"); | ||
fprintf(stderr, " l layer, if not specified, layer will be 1.\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dispmanx layer to use; defaults to 1\n"
Also the full stop is not needed
layer = atoi(argv[2]); | ||
break; | ||
case 6: | ||
f_name = argv[1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inconsistent tab
Set Layer number to argument 2.