From b47a58516af2c36e66c3987748b5b4a1275ed9e7 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Wed, 6 Sep 2023 21:35:22 -0500 Subject: sub: add auto option to --sub-fix-timing Third try is the charm? I stupidly missed that this option already existed in my previous commits. Instead, add an auto value to it and enable it by default for sd_lavc but not sd_ass. On my limited samples, it seems to fix the gaps issue that can occur but without regressing some duration timings for sub_lavc subtitles. Well hopefully anyway. Fixes #12327. --- options/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 3250729b48..8c8ff28490 100644 --- a/options/options.h +++ b/options/options.h @@ -89,7 +89,7 @@ struct mp_subtitle_opts { bool stretch_dvd_subs; bool stretch_image_subs; bool image_subs_video_res; - bool sub_fix_timing; + int sub_fix_timing; bool sub_scale_by_window; bool sub_scale_with_window; bool ass_scale_with_window; -- cgit v1.2.3