diff options
author | John Stebbins <[email protected]> | 2016-05-25 09:40:34 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-05-25 09:41:27 -0600 |
commit | 9dabe455a7b9f4917c1f36c3229c8fb9914a3fc4 (patch) | |
tree | e11bf8164e9db8a266a2c05c7e7a5fd4a408e929 /libhb/common.c | |
parent | a8aec0058298b75b59559c0bebd659852d7b32d9 (diff) |
encx265: simplify chapter mark handling
Use hb_chapter_enqueue/dequeue
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 2 |
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); } } |