Skip to content

Commit

Permalink
fixed gs with subtitlewatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDavici committed Oct 31, 2014
1 parent 35c8ad7 commit 4df0c80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DP_Player.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class DP_Player(Screen, InfoBarBase, InfoBarShowHide, InfoBarCueSheetSupport,
whatPoster = None
subtitleStreams = None
subtitleLanguageCode = None
subtitleWatcher = None

#===========================================================================
#
Expand Down Expand Up @@ -562,7 +563,8 @@ def play(self, resume = False):

# we start here too because it seems that direct local does not hit the buffer full function
self.timelineWatcher.start(5000,False)
self.subtitleWatcher.start(10000,False)
if self.subtitleWatcher is not None:
self.subtitleWatcher.start(10000,False)

else:
self["bufferslider"].setValue(1)
Expand Down

0 comments on commit 4df0c80

Please sign in to comment.