Browse Source

Rename --service option to --input-service.

Georgi Chorbadzhiyski 12 years ago
parent
commit
505322ca48
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      ChangeLog
  2. 2
    2
      tsdecrypt.1
  3. 2
    2
      tsdecrypt.c

+ 1
- 1
ChangeLog View File

@@ -1,5 +1,5 @@
1 1
 xxxx-xx-xx : Version next
2
- * Add --service option, to choose service id (program) in MPTS input.
2
+ * Add --input-service option, to choose service id (program) in MPTS input.
3 3
 
4 4
 2011-11-18 : Version 4.0
5 5
  * Set CAMD sockets NODELAY to avoid OSCAM errors when many packets are sent.

+ 2
- 2
tsdecrypt.1 View File

@@ -68,10 +68,10 @@ stream over UDP multicast.
68 68
 \fB\-z\fR, \fB\-\-input\-ignore\-disc\fR
69 69
 Do not report input discontinuity or RTP discontinuity errors.
70 70
 .TP
71
-\fB\-M\fR, \fB\-\-service\fR <service_id>
71
+\fB\-M\fR, \fB\-\-input\-service\fR <service_id>
72 72
 Choose the service id. This option must be used when the input is MPTS
73 73
 in order to select the correct service (program). If the input is MPTS
74
-and \fB\-\-service\fR is not used, tsdecrypt chooses the last service
74
+and \fB\-\-input\-service\fR is not used, tsdecrypt chooses the last service
75 75
 listed in PAT.
76 76
 .TP
77 77
 .SH OUTPUT OPTIONS

+ 2
- 2
tsdecrypt.c View File

@@ -65,7 +65,7 @@ static const struct option long_options[] = {
65 65
 	{ "input",				required_argument, NULL, 'I' },
66 66
 	{ "input-rtp",			no_argument,       NULL, 'R' },
67 67
 	{ "input-ignore-disc",	no_argument,       NULL, 'z' },
68
-	{ "service",			required_argument, NULL, 'M' },
68
+	{ "input-service",		required_argument, NULL, 'M' },
69 69
 
70 70
 	{ "output",				required_argument, NULL, 'O' },
71 71
 	{ "output-intf",		required_argument, NULL, 'o' },
@@ -119,7 +119,7 @@ static void show_help(struct ts *ts) {
119 119
 	printf("                            .    -I -              (read from stdin) (default)\n");
120 120
 	printf(" -R --input-rtp             | Enable RTP input\n");
121 121
 	printf(" -z --input-ignore-disc     | Do not report discontinuty errors in input.\n");
122
-	printf(" -M --service <service_id>  | Choose service id when input is MPTS.\n");
122
+	printf(" -M --input-service <srvid> | Choose service id when input is MPTS.\n");
123 123
 	printf("\n");
124 124
 	printf("Output options:\n");
125 125
 	printf(" -O --output <dest>         | Where to send output. File or multicast address.\n");

Loading…
Cancel
Save