- Replace the in-process GTK3 run_gui() with run_worker(), which owns the camera engine. - Worker streams downscaled Cairo BGRA frames to stdout, with a length header per frame. - Worker reads UI commands from stdin (switch, snap, snap_full, rec_start, quit) and emits state lines (info, active, flash, toast, saved_photo, rec_state). - SIGINT/SIGTERM set a stop flag so the worker shuts down cleanly.
This commit is contained in:
1 parent
1c954aa657
commit
de39b74282
4 files changed
+193
-907
No files matched your search
+176
-904
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user