summaryrefslogtreecommitdiffstats
path: root/libhb/encx265.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encx265.c')
-rw-r--r--libhb/encx265.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c
index 7ed280371..44fb4a10b 100644
--- a/libhb/encx265.c
+++ b/libhb/encx265.c
@@ -343,6 +343,7 @@ static hb_buffer_t* nal_encode(hb_work_object_t *w,
{
// we're done with this chapter
hb_list_rem(pv->delayed_chapters, item);
+ buf->s.new_chap = item->index;
free(item);
// we may still have another pending chapter