[SDL] SDL to display video!!!!

elhadj benkhelifa ebenkhelifa at yahoo.co.uk
Tue Nov 18 06:06:01 PST 2003


 thanks, 

that is sorted now, 

this code is to display bmp file. in my case i want to
display a YUV video file.

i just commented out the code which load and display
the  BMP file in the paintEvent function and replace
it with my code to display the yuv video file.
but what i get is just a green rectangle.

do have any ideas on why it is not displaying the
right data.
please find the attachment, test it yourself.

thanks again in advance.  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDLWidget.cpp
Type: application/octet-stream
Size: 3782 bytes
Desc: SDLWidget.cpp
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20031118/26ca9d73/attachment-0008.obj>


More information about the SDL mailing list