From d005ce0b526630bd428c1e5a466b0a96f0b8ecba Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 17 May 2012 15:13:55 +0000 Subject: libhb: forgot to clear the flag indicating forced sub seen since the flag wasn't cleared, it would output multiple empty subs for each forced sub git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4684 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/decpgssub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libhb/decpgssub.c b/libhb/decpgssub.c index 6494dfdbd..c5bb62628 100644 --- a/libhb/decpgssub.c +++ b/libhb/decpgssub.c @@ -253,6 +253,7 @@ static int decsubWork( hb_work_object_t * w, hb_buffer_t ** buf_in, // Flag an empty subtitle for subtitle RENDER make_empty_pgs( pv->list_pass_buffer ); clear_subtitle = 1; + pv->seen_forced_sub = 0; } } else -- cgit v1.2.3