unsafe extern "C" fn base_transform_transform<T: BaseTransformImpl>(
    ptr: *mut GstBaseTransform,
    inbuf: *mut GstBuffer,
    outbuf: *mut GstBuffer,
) -> GstFlowReturn