[Mono-list] xine and GTK.Sharp (Linux)

Lindsay Mathieson lindsay at softlog.com.au
Wed Apr 16 07:02:07 EDT 2008

I have xine iterop working to the extent that I can successfully playback 
video in a Gtk.Window - works really well even with HD recordings.

However it suffers from occasional pauses when the video just freezes for a 
few tens of seconds, though the audio plays fine. It doesn't seem to be 
stutters from CPU overload - no worries there.

I'm guessing the problem is XDisplayLocking - Gtk is occasionally locking the 
window display as part of its event loop, which blocks the video playback 
until its unlocked. If this is the case is there anything I can do to make 
Gtk ignore one of its own windows? 

Alternatively I wondered about creating a Cairo surface, but I know nothing 
about that. Not terribly familiar with Gtk either :)

Note: I do intend to release it as a open source library, once I get the kinks 
ironed out - but very early days yet.

Lindsay Mathieson

More information about the Mono-list mailing list