Skip to content

Commit

Permalink
player: added workaround for GS on VTI image
Browse files Browse the repository at this point in the history
  • Loading branch information
mx3L committed Oct 25, 2016
1 parent 3cf34ac commit 88fe9ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/plugin/src/engine/player/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,14 @@ def __init__(instance, session, infobar):
def getSubtitleList(instance):
return []

def __init__(self):
# workaround for VTI image which needs access to this attributes :/
# TODO use own audioselection screen, to avoid problems with different
# images
self.selected_subtitle = None
self.subtitles_enabled = False
InfoBarAudioSelection.__init__(self)

def audioSelection(self):
self.session.open(type(self).AudioSelectionNoSubtitles, infobar=self)

Expand Down

0 comments on commit 88fe9ea

Please sign in to comment.