summaryrefslogtreecommitdiffstats
path: root/libhb/decpgssub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-05-17 15:13:55 +0000
committerjstebbins <[email protected]>2012-05-17 15:13:55 +0000
commitd005ce0b526630bd428c1e5a466b0a96f0b8ecba (patch)
treea703143dc8a1596e31e3504e9d94860709769cf4 /libhb/decpgssub.c
parente240b17845e8f0e7d1ffef3160ca9c2b6ce587ff (diff)
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
Diffstat (limited to 'libhb/decpgssub.c')
-rw-r--r--libhb/decpgssub.c1
1 files changed, 1 insertions, 0 deletions
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