unsafe extern "C" fn video_decoder_sink_query<T: VideoDecoderImpl>(
    ptr: *mut GstVideoDecoder,
    query: *mut GstQuery,
) -> gboolean