diff options
author | dynaflash <[email protected]> | 2007-04-25 17:24:58 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-04-25 17:24:58 +0000 |
commit | cdcdac58032b929a7edea0459047a9cb56da767d (patch) | |
tree | c0aad497331fe94fb7f6b13b9600283f9350cf59 /libhb/work.c | |
parent | e1f55561971a286170d003d20eff51c9a5563f43 (diff) |
Fix Previous Bad commit for Cyanders Chapter Markers
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@548 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c index a4dcb4514..3e5ec4a78 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -535,6 +535,14 @@ static void work_loop( void * _w ) // w->thread_sleep_interval = MAX(1, (w->thread_sleep_interval - 1)); w->work( w, &buf_in, &buf_out ); + + // Propogate any chapter breaks for the worker + if( buf_in && buf_out && buf_in->new_chap ) + { + printf("WORK: Copying Chapter Break\n"); + buf_out->new_chap = 1; + } + if( buf_in ) { hb_buffer_close( &buf_in ); |