From: Jaroslav Kysela Date: Mon, 5 Mar 2018 13:47:37 +0000 (+0100) Subject: FIX inverted condition: DVR: do not merge multi-segmented files when EITp/f is enable... X-Git-Tag: v4.2.6~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1765c02938c6ae8362f91710212dfd92aa55e34f;p=thirdparty%2Ftvheadend.git FIX inverted condition: DVR: do not merge multi-segmented files when EITp/f is enabled, fixes #4926, fixes #4988 --- diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c index 0f20f1a51..cb9f0dc03 100644 --- a/src/dvr/dvr_db.c +++ b/src/dvr/dvr_db.c @@ -1082,7 +1082,7 @@ static time_t dvr_entry_get_segment_stop_extra( dvr_entry_t *de ) if (!de) return 0; - if (dvr_entry_get_epg_running(de) <= 0) + if (dvr_entry_get_epg_running(de)) return 0; /* Return any cached value we have previous calculated. */