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