summaryrefslogtreecommitdiffstats
path: root/libhb/encx265.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2014-05-10 19:24:03 +0000
committerRodeo <[email protected]>2014-05-10 19:24:03 +0000
commitd8d015a64f395a28931deea6765593f5dac9dd61 (patch)
tree7600dbeaf194108b922c6818ae077e93b8b573b5 /libhb/encx265.c
parent1045fd5adfa35e5169767b9525de54c271b2bde6 (diff)
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
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