]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts input: don't show disabled tuners in the status grid
authorJaroslav Kysela <perex@perex.cz>
Tue, 13 Oct 2015 08:59:09 +0000 (10:59 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 13 Oct 2015 08:59:09 +0000 (10:59 +0200)
src/input/mpegts/mpegts_input.c

index 9930f201681dd7251f22a680bbdf6e5d07fa599a..c398ada89b3548293fbbb5194db35b5e23d60b3e 100644 (file)
@@ -1534,7 +1534,7 @@ mpegts_input_get_streams
     mpegts_input_stream_status(mmi, st);
     LIST_INSERT_HEAD(isl, st, link);
   }
-  if (st == NULL && mi->mi_empty_status) {
+  if (st == NULL && mi->mi_empty_status && mi->mi_enabled) {
     st = calloc(1, sizeof(tvh_input_stream_t));
     mi->mi_empty_status(mi, st);
     LIST_INSERT_HEAD(isl, st, link);