Some filters will propagate them, and since filter_loop also restores them, this can result in duplicate chapters or other related issues.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5955
b64f7644-9d1e-0410-96f1-
a4d463321fa5
{
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 )
{