summaryrefslogtreecommitdiffstats
path: root/src/dabplus-enc-file.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-10 21:33:25 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-10 21:33:25 +0100
commitb0113afac2a68066fafbb2796963fa2cb72ac638 (patch)
tree5d19ddf394ff655dfb28d7d9972db9ca108a9de3 /src/dabplus-enc-file.c
parenta0603c8b1285d649fff786172769d0ad4637a32e (diff)
downloadfdk-aac-b0113afac2a68066fafbb2796963fa2cb72ac638.tar.gz
fdk-aac-b0113afac2a68066fafbb2796963fa2cb72ac638.tar.bz2
fdk-aac-b0113afac2a68066fafbb2796963fa2cb72ac638.zip
Add version number to the programs
Diffstat (limited to 'src/dabplus-enc-file.c')
-rw-r--r--src/dabplus-enc-file.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/dabplus-enc-file.c b/src/dabplus-enc-file.c
index c6aff07..64c089d 100644
--- a/src/dabplus-enc-file.c
+++ b/src/dabplus-enc-file.c
@@ -33,9 +33,10 @@
void usage(const char* name) {
fprintf(stderr,
- "%s is a HE-AACv2 encoder for DAB+ based on fdk-aac-dabplus\n"
- "that can encode from a file or pipe source, and encode\n"
- "into a file or pipe. There is no PAD support.\n\n"
+ "dabplus-enc-file %s is a HE-AACv2 encoder for DAB+\n"
+ "based on fdk-aac-dabplus that can read from a file\n"
+ "or pipe source and encode into a file or pipe.\n"
+ "There is no PAD support.\n\n"
"Usage:\n"
"%s [OPTION...]\n\n"
" -b, --bitrate={ 8, 16, ..., 192 } Output bitrate in kbps. Must be 8 multiple.\n"
@@ -47,7 +48,13 @@ void usage(const char* name) {
" -c, --channels={ 1, 2 } Nb of input channels for raw input (default: 2).\n"
" -r, --rate={ 32000, 48000 } Sample rate for raw input (default: 48000).\n"
//" -v, --verbose=LEVEL Set verbosity level.\n"
- , name, name);
+ ,
+#if defined(GITVERSION)
+ GITVERSION
+#else
+ PACKAGE_VERSION
+#endif
+ , name);
}