Lens Shading Calibration for the gstreamer rpicamsrc

Hi!

I’m using different Arducam lens with the V2 camera, and I learned that changing the stock ones may produce a distortion in the color (they seem to be pink tinted).
I followed the instructions posted by Arducam and they solve the problem with Raspivid, but actually I need to use gstreamer, and more specifically, the rpicamsrc plugin.

They plugin works similarly to raspivid. However, if you look as the source files, you cannot find the Raspivid.c file, so you cannot modify it as indicated by the Arducam instructions.

Any ideas how to modify the plugin to use the lens shading table provided by Arducam?

Thanks a lot,
Pablo