Open rsglobal opened 2 years ago
Looks same initially, can you provide since more information regarding the crash that occurs and what you tried when it happened please?
I decided to use libcamera for external cameras support for Android instead of external camera HAL built-in into android.
Built-in HAL doesn't support a set of cheap cameras, which was my motivation to use libcamera.
But it turned-out that enabling of uvcpipeline isn't enough and there are a lot of work need to be done to accomplish my goal.
I started to put stubs in a places which caused pipeline initialization to fail expecting to get at least any results and at some point faced this crash. With this patch I can see Camera configuration invalid
log which is much better than the crash.
This https://patchwork.libcamera.org/patch/17290/ was merged in September, which I think should also fix / prevent the issue you hit here. If you're able to retest this - let me know if it's still an issue or we can close this off.
RFU - Request for upstream :)
@kbingham ,
Hi Kieran,
Could you please send this patch to ML if relevant for other.
Currently I'm trying to run uvccamera pipeline on Android and got crash at
cfg.pixelFormat = pixelFormats.front();