Merge branch 'feature/gh144-gst-pad-link-error' into develop

This commit is contained in:
Stein Magnus Jodal 2012-02-13 09:48:11 +01:00
commit 2617daabac

View File

@ -83,6 +83,8 @@ class GStreamer(ThreadingActor):
def _on_new_pad(self, source, pad, target_pad):
if not pad.is_linked():
if target_pad.is_linked():
target_pad.get_peer().unlink(target_pad)
pad.link(target_pad)
def _on_message(self, bus, message):