]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
subscription: remove only raw service when it's parent, fixes #3256
authorJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2015 10:24:27 +0000 (11:24 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2015 10:24:27 +0000 (11:24 +0100)
src/subscriptions.c

index e72a3ed7f7ab6755e6770ae2e95b8454fc98bbb3..7774cdc3a346770563a7b90231ed604adfb1d2c4 100644 (file)
@@ -602,7 +602,7 @@ subscription_unsubscribe(th_subscription_t *s, int quiet)
   }
 
 #if ENABLE_MPEGTS
-  if (raw)
+  if (raw && t == raw)
     service_remove_raw(raw);
 #endif