]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
timeshift writer: fix stop condition
authorJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2016 09:45:22 +0000 (10:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2016 09:45:22 +0000 (10:45 +0100)
src/timeshift/timeshift_writer.c

index ec0e47141bf8575c7a7feb3545cd327f81fa45ea..7959657647f1f38f3853a78213e7e5fbb8d34480 100644 (file)
@@ -325,7 +325,7 @@ static void _process_msg
       if (run) *run = 0;
       break;
     case SMT_STOP:
-      if (sm->sm_code == 0 && run)
+      if (sm->sm_code != SM_CODE_SOURCE_RECONFIGURED && run)
         *run = 0;
       break;