Revert "Revert "Fix check for EOF""

This reverts commit 854c9a46c9d66e492a4f27e0e22131555d4168f0.
deinterlace: Request 1080i mode explicitly - it saves 9MB of gpu memory