Yv12 display on windows

Hi all!
I just compile mpeg4ip on windows—a sdl based player.It uses the yv12 display mode.I find it displays yuv overlay in the window,but when i minimize the window the picture still on the desktop,and i alway on top that cant be override by other window.I wonder if this is a bug of sdl?