gst_caps_unref() when you are done with the caps.
EncodingProfile.getInputCaps
gst.caps.Caps getInputCaps()Computes the full output caps that this profile will be able to consume.
Returns
The full caps the given profile can consume. Call
gst.caps.Caps getInputCaps()Computes the full output caps that this profile will be able to consume.
gst_caps_unref() when you are done with the caps.