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. --- DOCS/man/options.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index e7a746d587..b271ab4a62 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2627,10 +2627,11 @@ Subtitles particular subtitles in mkv files) are always assumed to be UTF-8. -``--sub-fix-timing=`` +``--sub-fix-timing=`` Adjust subtitle timing is to remove minor gaps or overlaps between subtitles (if the difference is smaller than 210 ms, the gap or overlap - is removed). + is removed). The ``auto`` value enables this for non-text subtitles such + as PGS or DVD (default: ``auto``). ``--sub-forced-events-only=`` Enabling this displays only forced events within subtitle streams. Only -- cgit v1.2.3