]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Don't announce SCT_TEXTSUB since it does not work
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 7 Oct 2010 20:45:49 +0000 (20:45 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 7 Oct 2010 20:45:49 +0000 (20:45 +0000)
src/htsp.c

index 1a2cba6a2e9cad3b0e03472bfd2ecb1bfbfc63f8..7a6cd9ba8b59704fc1f9c33e5d0bbdb26788d565 100644 (file)
@@ -1480,6 +1480,9 @@ htsp_subscription_start(htsp_subscription_t *hs, const streaming_start_t *ss)
   for(i = 0; i < ss->ss_num_components; i++) {
     const streaming_start_component_t *ssc = &ss->ss_components[i];
 
+    if(ssc->ssc_type == SCT_TEXTSUB)
+      continue;
+
     c = htsmsg_create_map();
     htsmsg_add_u32(c, "index", ssc->ssc_index);
     htsmsg_add_str(c, "type", streaming_component_type2txt(ssc->ssc_type));