diff options
author | Rodeo <[email protected]> | 2014-05-10 19:24:03 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2014-05-10 19:24:03 +0000 |
commit | d8d015a64f395a28931deea6765593f5dac9dd61 (patch) | |
tree | 7600dbeaf194108b922c6818ae077e93b8b573b5 /libhb | |
parent | 1045fd5adfa35e5169767b9525de54c271b2bde6 (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')
-rw-r--r-- | libhb/encx265.c | 1 |
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 |