]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: fix regression from ac47b98dd610c9b4a35f6321f2e2378758844e09 (for DVB-T/C)
authorJaroslav Kysela <perex@perex.cz>
Tue, 6 Oct 2015 19:49:47 +0000 (21:49 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 6 Oct 2015 19:49:47 +0000 (21:49 +0200)
src/input/mpegts/linuxdvb/linuxdvb_frontend.c

index fc75e7327f7f00de6dca44a5a74469e48c0ad00b..7956e666d46fcb045ede024a09bdede20a89099e 100644 (file)
@@ -365,7 +365,7 @@ linuxdvb_frontend_is_enabled ( mpegts_input_t *mi, mpegts_mux_t *mm, int flags )
   if (!mpegts_input_is_enabled(mi, mm, flags)) return 0;
   if (access(lfe->lfe_fe_path, R_OK | W_OK)) return 0;
   if (lfe->lfe_in_setup) return 0;
-  if (lfe->lfe_type != DVB_TYPE_S) return 0;
+  if (lfe->lfe_type != DVB_TYPE_S) return 1;
 
   /* check if any "blocking" tuner is running */
   LIST_FOREACH(th, &tvh_hardware, th_link) {