I&#39;m trying to remove a video sink from a tee, and I&#39;m getting the following X error:<br><br><span style="font-family: courier new,monospace;">$ python removal.py</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(removal.py:5342): GStreamer-WARNING **: Failed to load plugin &#39;/usr/lib/gstreamer-0.10/libgstpython_d.so&#39;: /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">No accelerated IMDCT transform found</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">X Error of failed request:  BadShmSeg (invalid shared segment parameter)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  Major opcode of failed request:  132 (XVideo)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  Minor opcode of failed request:  19 ()</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  Segment id in failed request:  0x4800009</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  Serial number of failed request:  255</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  Current serial number in output stream:  256</span><br clear="all"><br>Could someone enlighten me as to why the code crashes, and/or what the right way to fix it is?<br>
<br>(the code is also at <a href="http://paste.pocoo.org/show/155358/">http://paste.pocoo.org/show/155358/</a>)<br><br>Thanks,<br>  Peter<br><br>-- <br>Peter Ward<br><a href="http://identi.ca/flowblok/">http://identi.ca/flowblok/</a><br>
<a href="http://flowblok.selfip.net:8001/">http://flowblok.selfip.net:8001/</a><br>