unsafe extern "C" fn base_transform_decide_allocation<T: BaseTransformImpl>(
    ptr: *mut GstBaseTransform,
    query: *mut GstQuery,
) -> gboolean