(self, task)
| 43 | super().__init__(node=node, option=option) |
| 44 | |
| 45 | def process(self, task): |
| 46 | pkt = task.pop_packet_from_input_queue(0) |
| 47 | vf = pkt.get(bmf.VideoFrame) |
| 48 | info = { |
| 49 | 'width': vf.width, |
| 50 | 'height': vf.height, |
| 51 | } |
| 52 | |
| 53 | task.fill_output_packet(0, bmf.Packet(info)) |
| 54 | return 0 |
| 55 | |
| 56 | |
| 57 | def test_make_sync_func(): |
nothing calls this directly
no test coverage detected