GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Dec 20, 2014 8:44 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: GDK +SDL Related
PostPosted: Fri Apr 20, 2007 5:39 am 
Offline
Familiar Face

Joined: Fri Apr 20, 2007 5:35 am
Posts: 5
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......


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group