(self)
| 30 | gst.caps_new_any()) |
| 31 | |
| 32 | def __init__(self): |
| 33 | gst.Element.__init__(self) |
| 34 | gst.info('creating sinkpad') |
| 35 | self.sinkpad = gst.Pad(self._sinkpadtemplate, "sink") |
| 36 | gst.info('adding sinkpad to self') |
| 37 | self.add_pad(self.sinkpad) |
| 38 | |
| 39 | gst.info('setting chain/event functions') |
| 40 | self.sinkpad.set_chain_function(self.chainfunc) |
| 41 | self.sinkpad.set_event_function(self.eventfunc) |
| 42 | |
| 43 | def chainfunc(self, pad, buffer): |
| 44 | self.info("%s timestamp(buffer):%d" % (pad, buffer.timestamp)) |
nothing calls this directly
no test coverage detected