Add _stream_time and skip() to CIDVideoSource
This commit is contained in:
@@ -139,6 +139,15 @@ class CIDVideoSource:
|
||||
self._ensure_source()
|
||||
return self._source.path
|
||||
|
||||
@property
|
||||
def _stream_time(self):
|
||||
self._ensure_source()
|
||||
return self._source._stream_time
|
||||
|
||||
def skip(self):
|
||||
self._ensure_source()
|
||||
return self._source.skip()
|
||||
|
||||
def close(self):
|
||||
if self._source:
|
||||
self._source.close()
|
||||
|
||||
Reference in New Issue
Block a user