Env: Add ONLY_FORMAT to filter out all formats except one
All checks were successful
PostmarketOS Build / Prepare (push) Successful in 8s
PostmarketOS Build / Build for aarch64 (push) Successful in 43s
PostmarketOS Build / Build for x86_64 (push) Successful in 13s

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-06-21 19:51:51 +03:00
parent 45ab2ecb66
commit 126504d740
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
2 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,8 @@ Mostly made for PostmarketOS phones
- `AUDIO_ENABLED` = `true` - Bool, is audio record enabled (`false` to disable)
- `AUDIO_PROFILE` = `audio/x-ac3` - String - audio encoding
- `CAM_CAPS` = auto max caps by default - String
- `ONLY_FORMAT` = null - String, filter pixel formats to show only one (e.g `RGB`)
## Project TODO:
- [ ] Fix cam/mode switching? (I can't reproduce errors)
- [ ] Simplify customization

View file

@ -141,6 +141,7 @@ public class EyeNeko.Gstreamer : Object {
caps_selecton_model.set_model (filter);
} else
caps_selecton_model.set_model (srt);
caps_selecton_model.notify["selected-item"].connect (() => start_stream_from (current_camera));
}