+ self.src3crop = Gst.ElementFactory.make("aspectratiocrop", "src3crop")
+ self.src3crop.set_property("aspect-ratio", Gst.Fraction(16, 9))
+ self.src3crop.set_property("message-forward", True)
+ self.src3croppad = self.src3crop.get_static_pad("sink")
+ self.src3scale = Gst.ElementFactory.make("videoscale")
+ self.src3scalecaps = Gst.ElementFactory.make("capsfilter", "src3scalecaps")
+ self.src3scalecaps.set_property("caps", Gst.Caps.from_string("width=1280,height=720"))