Fixed EmbeddedSubtitles provider results caching

pull/2788/head
JayZed 2 months ago committed by GitHub
parent 137d61930d
commit a7df6a9c62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -255,8 +255,6 @@ class EmbeddedSubtitlesProvider(Provider):
class _MemoizedFFprobeVideoContainer(FFprobeVideoContainer):
# 128 is the default value for maxsize since Python 3.8. We ste it here for previous versions.
@functools.lru_cache(maxsize=128)
def get_subtitles(self, *args, **kwargs):
return super().get_subtitles(*args, **kwargs)

Loading…
Cancel
Save