From f758e324e17b52116075bb9175a3dd03d223a424 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sun, 2 Feb 2025 11:26:23 +0200 Subject: kms++util: New template based conversion & testpat code New templated conversion and test pattern code. Signed-off-by: Tomi Valkeinen --- py/pykms/pykmsutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/pykms/pykmsutil.cpp') diff --git a/py/pykms/pykmsutil.cpp b/py/pykms/pykmsutil.cpp index db91864..53717e0 100644 --- a/py/pykms/pykmsutil.cpp +++ b/py/pykms/pykmsutil.cpp @@ -46,7 +46,7 @@ void init_pykmsutils(py::module& m) // Use lambdas to handle IFramebuffer m.def( - "draw_test_pattern", [](Framebuffer& fb, YUVType yuvt) { draw_test_pattern(fb, yuvt); }, + "draw_test_pattern", [](Framebuffer& fb, YUVType yuvt) { draw_test_pattern(fb); }, py::arg("fb"), py::arg("yuvt") = YUVType::BT601_Lim); m.def("draw_color_bar", [](Framebuffer& fb, int old_xpos, int xpos, int width) { -- cgit v1.2.3