mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 19:30:11 +01:00
displaying video
This commit is contained in:
@@ -112,7 +112,10 @@ class video_player(object):
|
||||
return self.omx.end_play_signal
|
||||
|
||||
def get_position(self):
|
||||
return self.omx.video_position
|
||||
if self.is_loaded():
|
||||
return self.omx.video_position
|
||||
else:
|
||||
return 0
|
||||
|
||||
def play_content(self):
|
||||
self.status = 'PLAYING'
|
||||
|
||||
Reference in New Issue
Block a user