unsafe extern "C" fn base_transform_accept_caps<T: BaseTransformImpl>(
    ptr: *mut GstBaseTransform,
    direction: GstPadDirection,
    caps: *mut GstCaps,
) -> gboolean