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