Commit 1bbb5940 authored by Andy Wingo Wingo's avatar Andy Wingo Wingo

examples/Makefile.am (examples_DATA): Dist fixer.

Original commit message from CVS:
2005-09-01  Andy Wingo  <wingo@pobox.com>

* examples/Makefile.am (examples_DATA): Dist fixer.

* examples/debugslider.py: Renamed from debug-slider.py so it can
be imported.

* examples/pipeline-tester: Add a debugslider.

* pygst.py.in (require): If pygst.require() is called multiple
times, don't pollute sys.path with unneeded path entries.
parent 7c9e84bc
2005-09-01 Andy Wingo <wingo@pobox.com>
* examples/Makefile.am (examples_DATA): Dist fixer.
* examples/debugslider.py: Renamed from debug-slider.py so it can
be imported.
* examples/pipeline-tester: Add a debugslider.
* pygst.py.in (require): If pygst.require() is called multiple
times, don't pollute sys.path with unneeded path entries.
2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
......
......@@ -2,7 +2,7 @@ examplesdir = $(pkgdatadir)/examples
examples_DATA = \
bps.py \
cp.py \
debug-slider.py \
debugslider.py \
f2f.py \
filesrc.py \
gst123 \
......
......@@ -35,6 +35,9 @@ import pygst
pygst.require('0.9')
import gst
print sys.path
import debugslider
data = (('Video capture via V4L',
'v4lsrc name=source \n'
......@@ -147,6 +150,9 @@ class Window(gtk.Window):
tv.set_headers_visible(False)
tv.show()
sw.add(tv)
ds = debugslider.DebugSlider()
ds.show()
b.pack_start(ds, False, False, 0)
l = gtk.Label()
l.set_selectable(True)
l.show()
......
......@@ -51,7 +51,9 @@ def require(version):
assert version == _pygst_version, \
"Only version '%s' is available" % version
# prepend the pygst path ...
# move the pygst path to the front
while _pygst_dir in sys.path:
sys.path.remove(_pygst_dir)
sys.path.insert(0, _pygst_dir)
_pygst_required_version = version
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment