unsafe extern "C" fn base_sink_propose_allocation<T: BaseSinkImpl>(
    ptr: *mut GstBaseSink,
    query: *mut GstQuery,
) -> gboolean