This commit is contained in:
Thomas Adamcik 2011-06-09 13:55:15 +02:00
parent b6d1ff2b74
commit 06bee1cd21

View File

@ -106,7 +106,7 @@ class Scanner(object):
self.next_uri()
def get_duration(self):
self.pipe.get_state() # Block untill state change is done.
self.pipe.get_state() # Block until state change is done.
try:
return self.pipe.query_duration(
gst.FORMAT_TIME, None)[0] // gst.MSECOND