]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Sat>IP clear old signal info when opening new stream
authorFlole998 <Flole998@users.noreply.github.com>
Mon, 14 Dec 2020 22:03:21 +0000 (23:03 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Dec 2020 22:03:21 +0000 (23:03 +0100)
src/input/mpegts/satip/satip_frontend.c

index ebecf7c3f63dec6e43325328c481613ee3a45a6e..e880170a0e631e955435950663960febdbcf44fe 100644 (file)
@@ -864,6 +864,8 @@ satip_frontend_start_mux
   tvh_mutex_unlock(&lfe->sf_dvr_lock);
   tvh_mutex_lock(&mmi->tii_stats_mutex);
   lfe->sf_status    = SIGNAL_NONE;
+  mmi->tii_stats.signal_scale = SIGNAL_STATUS_SCALE_UNKNOWN;
+  mmi->tii_stats.snr_scale = SIGNAL_STATUS_SCALE_UNKNOWN;
   tvh_mutex_unlock(&mmi->tii_stats_mutex);
 
   /* notify thread that we are ready */