imgdata.params.shot_select moved to imgdata.rawparams.shot_select
(because this is decode-time option, not postprocessing option)
This change was now released as version 0.21 of LibRaw on Dec 26th 2022 and will break current HDRmerge master branch:
hdrmerge/src/ImageIO.cpp:42:18: error: ‘struct libraw_output_params_t’ has no member named ‘shot_select’
42 | d.params.shot_select = shot_select;
I included a version check for LibRaw around the offending code (deems just one occurrence) and tested to compile successfully with LibRaw v0.20 and v0.21 on Arch Linux.
According to LibRaw's changelog the API/datastruct has changed:
This change was now released as version 0.21 of LibRaw on Dec 26th 2022 and will break current HDRmerge master branch:
I included a version check for LibRaw around the offending code (deems just one occurrence) and tested to compile successfully with LibRaw v0.20 and v0.21 on Arch Linux.