unsafe extern "C" fn base_transform_set_caps<T: BaseTransformImpl>(
    ptr: *mut GstBaseTransform,
    incaps: *mut GstCaps,
    outcaps: *mut GstCaps,
) -> gboolean