From d8d015a64f395a28931deea6765593f5dac9dd61 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 10 May 2014 19:24:03 +0000 Subject: encx265: fix chapter insertion. Checking whether we should attach a chapter to the output buffer is not enough, we actually have to attach it too. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6176 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx265.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libhb/encx265.c') 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 -- cgit v1.2.3