aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKieran Bingham2017-12-13 17:10:10 -0600
committerTomi Valkeinen2017-12-15 07:34:17 -0600
commit37dfa5c785f7cc48ff9458881d907e2cce7d4fa6 (patch)
tree61d560b1ede93f146db23622e016a392f91a3298
parent47a81d94a67f3dd4ac75346c2067bfdbb30a2aa5 (diff)
downloadexternal-kmsxx-37dfa5c785f7cc48ff9458881d907e2cce7d4fa6.tar.gz
external-kmsxx-37dfa5c785f7cc48ff9458881d907e2cce7d4fa6.tar.xz
external-kmsxx-37dfa5c785f7cc48ff9458881d907e2cce7d4fa6.zip
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)
34 .def("queue", &VideoStreamer::queue) 34 .def("queue", &VideoStreamer::queue)
35 .def("dequeue", &VideoStreamer::dequeue) 35 .def("dequeue", &VideoStreamer::dequeue)
36 .def("stream_on", &VideoStreamer::stream_on) 36 .def("stream_on", &VideoStreamer::stream_on)
37 .def("stream_off", &VideoStreamer::stream_off)
37 ; 38 ;
38} 39}