diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2017-12-13 23:10:10 +0000 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-12-15 15:34:17 +0200 |
commit | 37dfa5c785f7cc48ff9458881d907e2cce7d4fa6 (patch) | |
tree | 61d560b1ede93f146db23622e016a392f91a3298 /py | |
parent | 47a81d94a67f3dd4ac75346c2067bfdbb30a2aa5 (diff) |
py: pyvid: Provide stream_off binding
The videodevice module defines a stream_off function call, but this is
not available in the python bindings interface.
Provide the binding of VideoStreamer::stream_off.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms/pyvid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms/pyvid.cpp b/py/pykms/pyvid.cpp index 6a6080e..92006c4 100644 --- a/py/pykms/pyvid.cpp +++ b/py/pykms/pyvid.cpp @@ -34,5 +34,6 @@ void init_pyvid(py::module &m) .def("queue", &VideoStreamer::queue) .def("dequeue", &VideoStreamer::dequeue) .def("stream_on", &VideoStreamer::stream_on) + .def("stream_off", &VideoStreamer::stream_off) ; } |