diff options
author | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
commit | ab959d7b4194715870128e616b8e29d4a101e488 (patch) | |
tree | 61a746231d30817be73416a7d67763fd677a1042 /test/setpid.c | |
parent | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff) | |
download | linux-dvb-apps-ab959d7b4194715870128e616b8e29d4a101e488.tar.gz |
Imported Upstream version 1.1.1+rev1207upstream/1.1.1+rev1207
Diffstat (limited to '')
-rw-r--r-- | test/setpid.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/test/setpid.c b/test/setpid.c index fa0333c..a2d42cf 100644 --- a/test/setpid.c +++ b/test/setpid.c @@ -1,9 +1,10 @@ -/* - * Set video and audio PIDs in the demux; useful only if you have - * a hardware MPEG decoder and you're tuned to a transport stream. - * - * usage: DEMUX=/dev/dvb/adapterX/demuxX setpid video_pid audio_pid - */ +#define USAGE \ +"\n" \ +"\nSet video and audio PIDs in the demux; useful only if you have" \ +"\na hardware MPEG decoder and you're tuned to a transport stream." \ +"\n" \ +"\nusage: DEMUX=/dev/dvb/adapterX/demuxX setpid video_pid audio_pid" \ +"\n" #include <unistd.h> #include <stdlib.h> @@ -69,7 +70,7 @@ int main (int argc, char **argv) int video_pid, audio_pid; if (argc != 3) { - printf ("\nusage: %s <video pid> <audio pid>\n\n", argv[0]); + printf ("\nusage: %s <video pid> <audio pid>\n\n" USAGE, argv[0]); exit (1); } if (getenv("DEMUX")) @@ -83,5 +84,3 @@ int main (int argc, char **argv) return 0; } - - |