From b5f865b92566e4205770b63ba713c41c4edb5da3 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 7 Oct 2020 08:43:10 +0300 Subject: dmabuffb: add constructor which takes in string fourcc Signed-off-by: Tomi Valkeinen --- py/pykms/pykmsbase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py') diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index a55cf3a..6ed82a0 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -171,6 +171,8 @@ void init_pykmsbase(py::module &m) ; py::class_(m, "DmabufFramebuffer") + .def(py::init, vector, vector>(), + py::keep_alive<1, 2>()) // Keep Card alive until this is destructed .def(py::init, vector, vector>(), py::keep_alive<1, 2>()) // Keep Card alive until this is destructed ; -- cgit v1.2.3