aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/fese/stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/fese/stream.py')
-rwxr-xr-xlibs/fese/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/fese/stream.py b/libs/fese/stream.py
index 3c73b1d3c..1039cdd8b 100755
--- a/libs/fese/stream.py
+++ b/libs/fese/stream.py
@@ -20,7 +20,7 @@ class FFprobeSubtitleStream:
:raises: LanguageNotFound, UnsupportedCodec
"""
self.index = int(stream["index"])
- self.codec_name = stream["codec_name"]
+ self.codec_name = stream.get("codec_name", "Unknown")
try:
self._codec = _codecs[self.codec_name]