Skip to content

Commit

Permalink
opj_compress: improve help message regarding new IMF switch
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 13, 2020
1 parent 4e5501b commit 563ecfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/jp2/opj_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ static void encode_help_display(void)
fprintf(stdout, "-cinema4K\n");
fprintf(stdout, " Digital Cinema 4K profile compliant codestream.\n");
fprintf(stdout, " Frames per second not required. Default value is 24fps.\n");
fprintf(stdout, "-IMF profile=P[,mainlevel=X][,sublevel=Y][,framerate=FPS]\n");
fprintf(stdout, "-IMF <PROFILE>[,mainlevel=X][,sublevel=Y][,framerate=FPS]\n");
fprintf(stdout, " Interoperable Master Format compliant codestream.\n");
fprintf(stdout, " P=2K, 4K, 8K, 2K_R, 4K_R or 8K_R.\n");
fprintf(stdout, " <PROFILE>=2K, 4K, 8K, 2K_R, 4K_R or 8K_R.\n");
fprintf(stdout, " X >= 0 and X <= 11.\n");
fprintf(stdout, " Y >= 0 and Y <= 9.\n");
fprintf(stdout,
Expand Down Expand Up @@ -1145,7 +1145,7 @@ static int parse_cmdline_encoder(int argc, char **argv,
int framerate = 0;
const char* msg =
"Wrong value for -IMF. Should be "
"profile[,mainlevel=X][,sublevel=Y][,framerate=FPS] where profile is one "
"<PROFILE>[,mainlevel=X][,sublevel=Y][,framerate=FPS] where <PROFILE> is one "
"of 2K/4K/8K/2K_R/4K_R/8K_R.\n";
char* comma;

Expand Down

0 comments on commit 563ecfb

Please sign in to comment.