- if not self.src3scalecaps.link(self.src3crop):
- print("Failed to link src3scalecaps to src3crop")
- if not self.src3crop.link(self.src3cropcaps):
- print("Failed to link src3crop to src3cropcaps")
- if not self.src3cropcaps.link(self.videomix):
- print("Failed to link src3cropcaps to videomix")
+ if not self.src3scalecaps.link_pads("src", self.videomix, "sink_3"):
+ print("Failed to link src3scalecaps to videomix")