|
@@ -861,7 +861,7 @@ static void report_emms(struct ts *ts, time_t now) {
|
861
|
861
|
}
|
862
|
862
|
|
863
|
863
|
static void report_ecms(struct ts *ts, time_t now) {
|
864
|
|
- if ((ts->stream_is_not_scrambled || !ts->have_valid_pmt) && ts->ecm_seen_count == 0)
|
|
864
|
+ if ((ts->stream_is_not_scrambled || !ts->have_valid_pmt || ts->no_input) && ts->ecm_seen_count == 0)
|
865
|
865
|
return;
|
866
|
866
|
ts_LOGf("ECM | Received %u (%u dup) and processed %u in %lu seconds.\n",
|
867
|
867
|
ts->ecm_seen_count,
|
|
@@ -875,7 +875,7 @@ static void report_ecms(struct ts *ts, time_t now) {
|
875
|
875
|
}
|
876
|
876
|
|
877
|
877
|
static void report_cw_warn(struct ts *ts, time_t now) {
|
878
|
|
- if (ts->stream_is_not_scrambled || !ts->have_valid_pmt)
|
|
878
|
+ if (ts->stream_is_not_scrambled || !ts->have_valid_pmt || ts->no_input)
|
879
|
879
|
return;
|
880
|
880
|
if (now - ts->key.ts > 1) {
|
881
|
881
|
notify(ts, "NO_CODE_WORD", "No valid code word was received in %ld sec.",
|