Did I find the right examples for you? yes no

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

src/f/l/flumotion-HEAD/flumotion/component/effects/videoscale/videoscale.py   flumotion(Download)
 
        # We might be called from the streaming thread
        self.info("Replaced capsfilter")
        reactor.callFromThread(blockPad.set_blocked_async,
            True, unlinkAndReplace)
            p = "%s,height=(int)%d" % (p, self._height)
        p = "video/x-raw-yuv%s;video/x-raw-rgb%s" % (p, p)
        self.info("out:%s" % p)
        caps = gst.Caps(p)
 
                return
 
            self.info("Correcting %s with %s pixels to be a multiple "
                      "of %s" % (name, scale_correction, correction))
            if isWidth:
    def _sinkSetCaps(self, pad, caps):
        self.info("in:%s" % caps.to_string())
        if not caps.is_fixed():
            return
        struc = caps[0]