]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP : Fix satip_frontend_is_free..
authorJaroslav Kysela <perex@perex.cz>
Fri, 18 Apr 2014 15:05:11 +0000 (17:05 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 5 May 2014 20:00:37 +0000 (22:00 +0200)
src/input/mpegts/satip/satip_frontend.c

index 756908f783e46e00407735d1ba60e03c10160f73..190e31dfa70580581287dc634fc7ee11115ee305 100644 (file)
@@ -249,12 +249,8 @@ const idclass_t satip_frontend_dvbc_class =
 static int
 satip_frontend_is_free ( mpegts_input_t *mi )
 {
-  satip_device_t *sd = ((satip_frontend_t*)mi)->sf_device;
-  satip_frontend_t *lfe;
-  TAILQ_FOREACH(lfe, &sd->sd_frontends, sf_link)
-    if (!mpegts_input_is_free((mpegts_input_t*)lfe))
-      return 0;
-  return 1;
+  /* TODO: Add some RTSP live checks here */
+  return mpegts_input_is_free(mi);
 }
 
 static int