unsafe extern "C" fn base_transform_before_transform<T: BaseTransformImpl>(
    ptr: *mut GstBaseTransform,
    inbuf: *mut GstBuffer,
)