summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/work.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index f4be983e3..05bf6a1f3 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -883,6 +883,12 @@ static void do_job( hb_job_t * job, int cpu_count )
}
}
}
+
+ if( job->chapter_markers && job->chapter_start == job->chapter_end )
+ {
+ job->chapter_markers = 0;
+ hb_log("work: only 1 chapter, disabling chapter markers");
+ }
/* Display settings */
hb_display_job_info( job );