Browse Source

Fix reporting of NO_PROGRAM after input is OK

Georgi Chorbadzhiyski 6 years ago
parent
commit
a70cc83d22
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      tsdecrypt.c

+ 2
- 0
tsdecrypt.c View File

@@ -1086,6 +1086,8 @@ int main(int argc, char **argv) {
1086 1086
 							ts.rtp_input ? "rtp" : "udp",
1087 1087
 							ts.input.hostname, ts.input.service,
1088 1088
 							(now - timeout_start) + 2); // Timeout is detected when ~2 seconds there is no incoming data
1089
+					ts.have_valid_pmt = 1; // We need to report if there is not PMT after INPUT is now OK
1090
+					ts.last_pmt_ts = time(NULL);
1089 1091
 					ts.no_input = 0;
1090 1092
 					ntimeouts = 0;
1091 1093
 				}

Loading…
Cancel
Save