Hd-rum-transcode: added -v option

This commit is contained in:
Martin Pulec
2016-03-21 10:11:46 +01:00
parent 2984709460
commit cc4e4eb362
4 changed files with 19 additions and 8 deletions

View File

@@ -194,3 +194,14 @@ void print_capabilities(struct module *root, bool use_vidcap)
}
}
void print_version()
{
printf("%s", PACKAGE_STRING);
#ifdef GIT_VERSION
printf(" (rev %s)", GIT_VERSION);
#endif
printf("\n");
printf("\n" PACKAGE_NAME " was compiled with following features:\n");
printf(AUTOCONF_RESULT);
}