Added size and position params to GPU preview route
This commit is contained in:
parent
51cd776700
commit
366b771b72
2 changed files with 21 additions and 5 deletions
|
|
@ -225,9 +225,9 @@ class StreamingCamera(BaseCamera):
|
|||
|
||||
# LAUNCH ACTIONS
|
||||
|
||||
def start_preview(self) -> bool:
|
||||
def start_preview(self, fullscreen=True, window=None) -> bool:
|
||||
"""Start the on board GPU camera preview."""
|
||||
self.camera.start_preview()
|
||||
self.camera.start_preview(fullscreen=fullscreen, window=window)
|
||||
self.state['preview_active'] = True
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue