GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GDK +SDL Related

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
ajayuitk
Familiar Face


Joined: 20 Apr 2007
Posts: 5

PostPosted: Fri Apr 20, 2007 5:39 am    Post subject: GDK +SDL Related Reply with quote

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......
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP