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