From: Jaroslav Kysela Date: Sun, 3 Jan 2016 09:45:22 +0000 (+0100) Subject: timeshift writer: fix stop condition X-Git-Tag: v4.2.1~1241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4449a20687c0e984db994005834421800b1a3777;p=thirdparty%2Ftvheadend.git timeshift writer: fix stop condition --- diff --git a/src/timeshift/timeshift_writer.c b/src/timeshift/timeshift_writer.c index ec0e47141..795965764 100644 --- a/src/timeshift/timeshift_writer.c +++ b/src/timeshift/timeshift_writer.c @@ -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;