diff options
author | Mark Purcell <msp@debian.org> | 2008-06-22 11:00:40 +1000 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:42 +0200 |
commit | 891c51ff368ed700dec6025eeb47ce4d96f76418 (patch) | |
tree | 3729664829e4faa691d403274f38eb10890b533c /test/setpid.c | |
parent | 1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff) | |
parent | ab959d7b4194715870128e616b8e29d4a101e488 (diff) | |
download | linux-dvb-apps-debian/1.1.1+rev1207-1.tar.gz |
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
Diffstat (limited to 'test/setpid.c')
-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; } - - |