avtools: reinitialise filter chain when input video stream changes dimensions