Re: how to display video frames effectively under gtk+?



KOFKS wrote:
I use GTK+ to implement the GUI part, but I do not know how to draw
each frame effectively.
My plan is to draw each frame onto a gtk_drawing_area, and then use a
timeout callback function to emit expose event at proper interval. The
real display will be done in the callback function of expose event.

This may work, but I think there maybe some better way. Will some one
offer better methods?

Take a look at the XVideo X extension. Its purpose is to output video and
has hardware acceleration support.

Look in http://en.wikipedia.org/wiki/X_video_extension for more information.

Regards.
.