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