This issue would be outside of Deepstream, You could try asking in the gstreamer Github or community.
from my experience, gst-plugins-good is based on some base libs, you can clone all gstreamer code if don’t know which libs need to clone, then modify the code, rebuild, replace gst-plugins-good lib.