ajayuitk Familiar Face
Joined: 20 Apr 2007 Posts: 5
|
Posted: Fri Apr 20, 2007 5:39 am Post subject: GDK +SDL Related |
|
|
Hi,
I am developing a small code to play a video file using SDL screen ,now i want to GTK or GDK screen instead of SDL screen,but i am not able to calculate the buffer for the GTK pixels .
2nd thing i used SDL_CreateRGBSurface to get screen->pixel ,and draw the video on gdk_draw_rgb_image on the GTK window(176*220) ,but got the problem to change the screen height and width which is coming from avcodec(320*240).
so can anybody tell me how can i use GTK widget instead of SDL?
Help me...... |
|