Merge branch 'feature/gh144-gst-pad-link-error' into develop
This commit is contained in:
commit
2617daabac
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user