summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 0310eeeac..32e0bc49a 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -5412,6 +5412,8 @@ void hb_chapter_enqueue(hb_chapter_queue_t *q, hb_buffer_t *buf)
{
item->start = buf->s.start;
item->new_chap = buf->s.new_chap;
+ // Make sure work_loop doesn't also copy the chapter mark
+ buf->s.new_chap = 0;
hb_list_add(q->list_chapter, item);
}
}