summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2023-10-01 13:20:32 -0400
committerVitiko <[email protected]>2023-10-01 13:20:32 -0400
commit654934b5e1d9a4637e53c6882b2dfc3213600f54 (patch)
tree6d8b2c41543578057f7e74d81d58c8a4d857cf44
parent3942264d0057860e53be8d18e8dfb093352f0dbe (diff)
downloadbazarr-654934b5e1d9a4637e53c6882b2dfc3213600f54.tar.gz
bazarr-654934b5e1d9a4637e53c6882b2dfc3213600f54.zip
EmbeddedSubtitles provider: update subtitles checker
-rw-r--r--libs/subliminal_patch/providers/embeddedsubtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/embeddedsubtitles.py b/libs/subliminal_patch/providers/embeddedsubtitles.py
index 76e8afdf4..828648432 100644
--- a/libs/subliminal_patch/providers/embeddedsubtitles.py
+++ b/libs/subliminal_patch/providers/embeddedsubtitles.py
@@ -328,7 +328,7 @@ def _discard_possible_incomplete_subtitles(streams):
for stream in streams:
# 500 < 1200
- if not stream.language.forced and stream.tags.frames < max_frames // 2:
+ if not stream.language.forced and stream.tags.frames < max_frames // 3:
logger.debug(
"Possible bad subtitle found: %s (%s frames - %s frames)",
stream,