#1334 HIGH Trial-2: xv intermittently loses display of gstreamer video

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 21 14:09:19 EDT 2007


#1334: xv intermittently loses display of gstreamer video
------------------------------+---------------------------------------------
  Reporter:  erikb            |       Owner:  blizzard
      Type:  defect           |      Status:  reopened
  Priority:  high             |   Milestone:  Trial-2 
 Component:  camera-activity  |     Version:          
Resolution:                   |    Keywords:          
  Verified:  0                |  
------------------------------+---------------------------------------------
Comment (by dcbw):

 I think I've got it now; the VideoSlot in ytest2 should have this for
 __init__... ignore the modify_bg stuff, it's unnecessary.

         def __init__(self):
                 gtk.Window.__init__(self)
                 self.imagesink = None
                 self.unset_flags(gtk.DOUBLE_BUFFERED)
                 self.set_flags(gtk.APP_PAINTABLE)

 The key is the APP_PAINTABLE flag and _unsetting_ DOUBLE_BUFFERED.
 Turning on APP_PAINTABLE tells GTK that the application will handle all
 window repaints, and not to do anything itself.  That lets gstreamer
 repaint the color key background without interference.

-- 
Ticket URL: <http://dev.laptop.org/ticket/1334#comment:7>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list