mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
fix boot and improve capture
This commit is contained in:
11
actions.py
11
actions.py
@@ -243,12 +243,12 @@ class Actions(object):
|
||||
is_previewing = self.capture.is_previewing
|
||||
if is_previewing:
|
||||
self.capture.stop_preview()
|
||||
if self.video_driver.current_player.status == 'PAUSED':
|
||||
self.video_driver.current_player.toggle_pause()
|
||||
#if self.video_driver.current_player.status == 'PAUSED':
|
||||
#self.video_driver.current_player.toggle_pause()
|
||||
else:
|
||||
is_successful = self.capture.start_preview()
|
||||
if is_successful and self.video_driver.current_player.status != 'PAUSED':
|
||||
self.video_driver.current_player.toggle_pause()
|
||||
#if is_successful and self.video_driver.current_player.status != 'PAUSED':
|
||||
#self.video_driver.current_player.toggle_pause()
|
||||
|
||||
|
||||
def toggle_capture_recording(self):
|
||||
@@ -446,7 +446,8 @@ class Actions(object):
|
||||
else:
|
||||
self.data.update_setting_value('video', 'OUTPUT', 'hdmi')
|
||||
|
||||
if not self.data.settings['video']['HDMI_MODE']['value'] == "CEA 4 HDMI":
|
||||
if self.data.settings['video']['HDMI_MODE']['value'] == "CEA 4 HDMI":
|
||||
|
||||
self.data.update_setting_value('video', 'HDMI_MODE', 'CEA 4 HDMI')
|
||||
|
||||
self.change_hdmi_settings('CEA 4 HDMI')
|
||||
|
||||
Reference in New Issue
Block a user