avfilter/avf_showfreqs: make selecting window size simpler