SDL video - problem with DirectX driver in fullscreen mode

Hi all

I’m developing an Ogg-Theora video player with SDL and as i’m under
Windows,i need to use the directx driver in fullscreen mode in order to
obtain a YUV overlay hardware-accelerated.

Unfortunately,when i run my player in this mode,some garbage appears in the
top left corner of the screen and the video-frames are not displayed.

Using windlib driver everything works fine.Maybe is it a problem of SDL in
supporting the directx driver?How can i fix this?

Thanks a lot in advance,regards
Alberto–
View this message in context: http://www.nabble.com/SDL-video---problem-with-DirectX-driver-in-fullscreen-mode-tp21861392p21861392.html
Sent from the SDL mailing list archive at Nabble.com.

Ok,solved.It seems to be some problem related with pixel-format
conversions.Theora decodes natively on 24 bpp,but i was setting the video
mode to 16 bpp.

However,i’ve another question: how can i use the DMA technique with SDL?
Thanks again

Alberto

AlbertoS wrote:>

Hi all

I’m developing an Ogg-Theora video player with SDL and as i’m under
Windows,i need to use the directx driver in fullscreen mode in order to
obtain a YUV overlay hardware-accelerated.

Unfortunately,when i run my player in this mode,some garbage appears in
the top left corner of the screen and the video-frames are not displayed.

Using windlib driver everything works fine.Maybe is it a problem of SDL in
supporting the directx driver?How can i fix this?

Thanks a lot in advance,regards
Alberto


View this message in context: http://www.nabble.com/SDL-video---problem-with-DirectX-driver-in-fullscreen-mode-tp21861392p21869301.html
Sent from the SDL mailing list archive at Nabble.com.