summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/work.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index e76c88a91..7bb8eab4f 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -1733,6 +1733,8 @@ static void filter_loop( void * _f )
{
f->chapter_time = buf_in->s.start;
f->chapter_val = buf_in->s.new_chap;
+ // don't let 'filter_loop' put a chapter mark on the wrong buffer
+ buf_in->s.new_chap = 0;
}
if ( *f->done )
{