mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +00:00
gst/extend/: Fixes for thread-safety, changes in behaviour with gst.Pad and cleanup. Still has some issues.
Original commit message from CVS: * gst/extend/jukebox.py: * gst/extend/sources.py: Fixes for thread-safety, changes in behaviour with gst.Pad and cleanup. Still has some issues.
This commit is contained in:
parent
62714e8794
commit
cef8a55b55
3 changed files with 22 additions and 12 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-06-16 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/extend/jukebox.py:
|
||||
* gst/extend/sources.py:
|
||||
Fixes for thread-safety, changes in behaviour with gst.Pad and
|
||||
cleanup. Still has some issues.
|
||||
|
||||
2007-06-14 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/__init__.py:
|
||||
|
|
|
@ -26,6 +26,7 @@ import pickle
|
|||
import random as rand
|
||||
|
||||
import gobject
|
||||
gobject.threads_init()
|
||||
import pygst
|
||||
pygst.require('0.10')
|
||||
import gst
|
||||
|
@ -249,6 +250,7 @@ class Jukebox(gst.Bin):
|
|||
return
|
||||
self.debug("Ghosting source pad %s" % pad)
|
||||
self._srcpad = gst.GhostPad("src", pad)
|
||||
self._srcpad.set_active(True)
|
||||
self.add_pad(self._srcpad)
|
||||
|
||||
## gst.Bin/Element virtual methods
|
||||
|
|
|
@ -81,6 +81,7 @@ class AudioSource(gst.Bin):
|
|||
pad.link(self.audioconvert.get_pad("sink"))
|
||||
|
||||
self._srcpad = gst.GhostPad("src", self.volume.get_pad("src"))
|
||||
self._srcpad.set_active(True)
|
||||
self.add_pad(self._srcpad)
|
||||
|
||||
def _unknown_type_cb(self, pad, caps):
|
||||
|
|
Loading…
Reference in a new issue