mirror of https://github.com/mpv-player/mpv
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:
parent
77cbb35437
commit
9a23a14cec
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue