aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2017-12-13 23:10:10 +0000
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-12-15 15:34:17 +0200
commit37dfa5c785f7cc48ff9458881d907e2cce7d4fa6 (patch)
tree61d560b1ede93f146db23622e016a392f91a3298
parent47a81d94a67f3dd4ac75346c2067bfdbb30a2aa5 (diff)
downloadkmsxx-37dfa5c785f7cc48ff9458881d907e2cce7d4fa6.tar.gz
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>
-rw-r--r--py/pykms/pyvid.cpp1
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)
;
}