Browse Source

The --no-output-filter should act as boolean.

Georgi Chorbadzhiyski 12 years ago
parent
commit
0a21f788f3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tsdecrypt.c

+ 1
- 1
tsdecrypt.c View File

@@ -327,7 +327,7 @@ static void parse_options(struct ts *ts, int argc, char **argv) {
327 327
 				ts->no_output_on_error = !ts->no_output_on_error;
328 328
 				break;
329 329
 			case 'p': // --no-output-filter
330
-				ts->pid_filter = 0;
330
+				ts->pid_filter = !ts->pid_filter;
331 331
 				break;
332 332
 			case 'y': // --output-nit-pass
333 333
 				ts->nit_passthrough = !ts->nit_passthrough;

Loading…
Cancel
Save