]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: compilation fix
authorJaroslav Kysela <perex@perex.cz>
Sat, 24 Feb 2018 18:35:40 +0000 (19:35 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 24 Feb 2018 18:35:40 +0000 (19:35 +0100)
src/dvr/dvr_db.c

index fd857f00969eb6547f341053927c024cd2d463d5..0f20f1a517d1092c6cf044d1d0ae25f43353e6d9 100644 (file)
@@ -2270,8 +2270,8 @@ dvr_entry_start_recording(dvr_entry_t *de, int clone)
    */
   if (de->de_bcast && de->de_running_start == 0 && de->de_running_stop == 0) {
     epg_broadcast_t *ebc = epg_broadcast_get_prev(de->de_bcast);
-    if (de->de_bcast->running != EPG_RUNNING_NOTSET ||
-        (ebc && ebc->running != EPG_RUNNING_NOTSET))
+    if (de->de_bcast->running != EPG_RUNNING_STOP ||
+        (ebc && ebc->running != EPG_RUNNING_STOP))
       de->de_running_stop = gclk();
   }