-
-
Notifications
You must be signed in to change notification settings - Fork 73
libcamera: parse arrays for options #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@arekm Can you check this? I have not yet tested it, but this is different take on options split to resolve array. |
dd932c9 to
5ebc86f
Compare
This does that by trying to parse value, and then advancing pointer. It checks if the string ends or is split by comma.
5ebc86f to
a231d4d
Compare
|
@arekm There's also a failure on bullseye: https://github.com/ayufan/camera-streamer/actions/runs/15521012545/job/43694196716. |
|
Looks like we need to assume 'not array' before isArray() was implemented: |
|
@arekm Would you mind picking this PR into your changes and finishing them? :) Thank you! |
|
@arekm I pushed another commit to this PR. To make it easier to test different variants (on amd64 or arm64) you can use:
|
|
Maybe 0001-Don-t-use-isArray-on-older-libcamera-where-isArray-w.patch docker doesn't work for me (sorry, rarely using docker) |
|
@arekm Pull latest commit from |
|
#176 should do the job (fixes bullseye and small bug in parsing rework) |
This does that by trying to parse value,
and then advancing pointer. It checks if the
string ends or is split by comma.
Replaces the #170.