pitivi r1228 - trunk/pitivi/ui



Author: edwardrv
Date: Fri Aug  1 08:49:33 2008
New Revision: 1228
URL: http://svn.gnome.org/viewvc/pitivi?rev=1228&view=rev

Log:
viewer.py: Sync with the X server before giving the X-id to the sink

Modified:
   trunk/pitivi/ui/viewer.py

Modified: trunk/pitivi/ui/viewer.py
==============================================================================
--- trunk/pitivi/ui/viewer.py	(original)
+++ trunk/pitivi/ui/viewer.py	Fri Aug  1 08:49:33 2008
@@ -429,6 +429,7 @@
             dav = self.drawingarea.videosink
             gst.log('%s' % dav)
             if dav and dav.realsink and dav.realsink == message.src:
+                gtk.gdk.display_get_default().sync()
                 self.drawingarea.can_set_xid = True
                 if self.drawingarea.isexposed:
                     self.drawingarea.set_xwindow_id()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]