Bladeren bron

fixed type missmatch

pull/52/head
Tobias Perschon 5 jaren geleden
bovenliggende
commit
524b783001
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +1
    -1
      Adafruit_Video_Looper/hello_video.py
  2. +1
    -1
      Adafruit_Video_Looper/omxplayer.py

+ 1
- 1
Adafruit_Video_Looper/hello_video.py Bestand weergeven

@@ -44,7 +44,7 @@ class HelloVideoPlayer:
self._process.poll()
return self._process.returncode is None

def stop(self, block_timeout_sec=None):
def stop(self, block_timeout_sec=0):
"""Stop the video player. block_timeout_sec is how many seconds to
block waiting for the player to stop before moving on.
"""


+ 1
- 1
Adafruit_Video_Looper/omxplayer.py Bestand weergeven

@@ -51,7 +51,7 @@ class OMXPlayer:
self._process.poll()
return self._process.returncode is None

def stop(self, block_timeout_sec=None):
def stop(self, block_timeout_sec=0):
"""Stop the video player. block_timeout_sec is how many seconds to
block waiting for the player to stop before moving on.
"""


Laden…
Annuleren
Opslaan