Fix subtitle language code
This commit is contained in:
parent
82cb252eb5
commit
8be5a56ac5
1 changed files with 1 additions and 1 deletions
|
@ -164,4 +164,4 @@ class VideoPlayer(GObject.Object):
|
|||
return str(track_index)
|
||||
|
||||
found, lang = caps.get_string("language-code")
|
||||
return f"{track_index} ({lang})" if found else str(track_index)
|
||||
return lang if found else "???"
|
||||
|
|
Loading…
Reference in a new issue