Commit graph

4 commits

Author SHA1 Message Date
Jan Schmidt
113959d55a examples: Port switch.py to input-selector
The switch element hasn't existed for a while now - use the
replacement element input-selector instead.

Partially (and finally) fixes #581737
2009-05-07 14:48:42 +02:00
Jan Schmidt
7743f1ad1e examples: Make xoverlay installation thread safe using the GDK lock.
We can't call into the GDK functions in our sync-message handler
without taking the GDK lock, so do so.

Partially fixes #581737
2009-05-07 14:48:25 +02:00
Jan Schmidt
839bc5b0d4 examples/: Sync with the X server before giving an XID to our sink with a different display connection. This avoids s...
Original commit message from CVS:
* examples/play.py:
* examples/remuxer.py:
* examples/switch.py:
* examples/synchronizer.py:
Sync with the X server before giving an XID to our sink with a different
display connection. This avoids spurious X servers where the sink's
display connection doesn't know the XID that the GDK thread's does.
2008-04-24 11:35:38 +00:00
Andy Wingo
535e724574 examples/switch.py: New file, a basic demo for a single-stream switcher. Could be expanded later -- look at flumotion...
Original commit message from CVS:
2007-12-18  Andy Wingo  <wingo@pobox.com>

* examples/switch.py: New file, a basic demo for a single-stream
switcher. Could be expanded later -- look at
flumotion.component.combiners.switch.switch for some inspiration.
2007-12-18 16:48:32 +00:00