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