소스 검색

fixed type missmatch

pull/52/head
Tobias Perschon 6 년 전
부모
커밋
524b783001
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 파일 보기

@@ -44,7 +44,7 @@ class HelloVideoPlayer:
self._process.poll() self._process.poll()
return self._process.returncode is None 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 """Stop the video player. block_timeout_sec is how many seconds to
block waiting for the player to stop before moving on. block waiting for the player to stop before moving on.
""" """


+ 1
- 1
Adafruit_Video_Looper/omxplayer.py 파일 보기

@@ -51,7 +51,7 @@ class OMXPlayer:
self._process.poll() self._process.poll()
return self._process.returncode is None 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 """Stop the video player. block_timeout_sec is how many seconds to
block waiting for the player to stop before moving on. block waiting for the player to stop before moving on.
""" """


불러오는 중...
취소
저장