msl
This camera does not support RAW/DNG. Perhaps there is a problem with the extra code.
Yes, the error is with my added code for the shot meter, which uses CAM_ACTIVE_AREA_X1. I should be using the camera_sensor structure instead, I suppose. Or maybe add an #if directive like the one in camera_info.c
#if defined(CAM_ACTIVE_AREA_X1) && defined(CAM_JPEG_WIDTH)
{{
(CAM_ACTIVE_AREA_X2-CAM_ACTIVE_AREA_X1-CAM_JPEG_WIDTH)/2, (CAM_ACTIVE_AREA_Y2-CAM_ACTIVE_AREA_Y1-CAM_JPEG_HEIGHT)/2,
CAM_JPEG_WIDTH, CAM_JPEG_HEIGHT
}},
{ { CAM_ACTIVE_AREA_Y1, CAM_ACTIVE_AREA_X1, CAM_ACTIVE_AREA_Y2, CAM_ACTIVE_AREA_X2 } },
#else
{{
0, 0,
0, 0
}},
{ { 0, 0, 0, 0 } },
#endif
Interestingly, this camera is apparently the only one the doesn't define CAM_ACTIVE_AREA_X1. Do you think raw_process() is still called, with a valid raw buffer available, even though it doesn't support raw saving?
I just discovered that CHDK shell works great with "BATCH" checked to compile all the cameras, which is how I discovered the problem with this camera. Thanks for the help, and for CHDK Shell!