deinterlace: Better alternate support
Improve TFF/BFF autodetection according to first frame after a segment, instead of letting it continuously switch between TFF and BFF. Results in smoother transitions. Also handle the buffer state the same as mixed.
Edited by Vivia Nikolaidou