[SDL] display YUV file

elhadj benkhelifa ebenkhelifa at yahoo.co.uk
Thu Nov 13 02:42:02 PST 2003


thanks for the reply, 
i tried that but it give segmentation fault when i ran

i can send you the full code, if that would help you
to help me.

thanks in advance

> Try to replace this libe with:
> 	memcpy(YUVOverlay->pixels, pYCbCrData,
> Total_Bytes);
> The LockYUV function set the pixels pointer to the
> value in graphic card 
> memory where your data should be displayed, so you
> cannot set it yourself!
> Bye,
>   Gabry
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl 

Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

More information about the SDL mailing list