Skip to content

Commit

Permalink
gpujpegtool: print also built date+time
Browse files Browse the repository at this point in the history
it can be useful, alongside printed Git commit hash

Removed condition for GIT_REV (unnecessary - either real version or
"unknown" by preprocessor above).
  • Loading branch information
MartinPulec committed Nov 20, 2024
1 parent ba0ce36 commit fb653c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ parse_pixel_format(const char *arg)
int
main(int argc, char *argv[])
{
printf("GPUJPEG rev %s\n", strlen(GIT_REV) > 0 ? GIT_REV : "unknown");

printf("GPUJPEG rev %s built " __DATE__ " " __TIME__ " \n", GIT_REV);

int ret = EXIT_SUCCESS;
// Default coder parameters
Expand Down

0 comments on commit fb653c0

Please sign in to comment.