qt: use vlc_tick_t with the input "length"