Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/f/l/flumotion-HEAD/flumotion/component/producers/playlist/smartscale.py   flumotion(Download)
        self.add_pad(self._srcPad)
 
        self._sinkPad.set_setcaps_function(self._sinkSetCaps)
 
 

src/f/l/flumotion-HEAD/flumotion/component/effects/videoscale/videoscale.py   flumotion(Download)
        self._identity.set_property('silent', True)
        # Add the setcaps function in the sink pad
        self._sinkPad.set_setcaps_function(self._sinkSetCaps)
        # Add a callback for caps changes in the videoscaler source pad
        # to recalculate the scale correction

src/f/l/flumotion-HEAD/flumotion/component/effects/deinterlace/deinterlace.py   flumotion(Download)
 
        # Add setcaps callback in the sink pad
        self._sinkPad.set_setcaps_function(self._sinkSetCaps)
 
        # Set the mode and method in the deinterlacer