change condition for closed state in MPlayer::getVideoState