sd_ass: disable --sub-fix-timing if sub style override is fully disabled

This means the subtitles will show as "intended".

For some weird reason, --sub-ass-style-override is the option that
controls style override, which implies it's specific to ASS. While that
seems weird and doesn't always reflect reality, I don't care about that
now.
This commit is contained in:
wm4 2017-03-15 01:54:55 +01:00
parent 77cbb35437
commit 9a23a14cec
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ static long long find_timestamp(struct sd *sd, double pts)
long long ts = llrint(pts * 1000);
if (!sd->opts->sub_fix_timing)
if (!sd->opts->sub_fix_timing || sd->opts->ass_style_override == 0)
return ts;
// Try to fix small gaps and overlaps.