From 5671ab651d9c938a0ff2df3a9c0baef9891e7e23 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 2 Mar 2021 13:11:36 +0100 Subject: Move HandleType and MapMode from QAbstractVideoBuffer to QVideoFrame QAbstractVideoBuffer is a class that is only required inside our implementation, so we can make it private. This change prepares for it. Change-Id: I4ba4542c1eab742f2fc93231e2e5063dbc5d5e94 Reviewed-by: Doris Verria Reviewed-by: Lars Knoll --- src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp') diff --git a/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp b/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp index 2e6c712e3..b238dff4f 100644 --- a/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp +++ b/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp @@ -176,7 +176,7 @@ GLuint QSGVivanteVideoMaterial::vivanteMapping(QVideoFrame vF) clearTextures(); } - if (vF.map(QAbstractVideoBuffer::ReadOnly)) { + if (vF.map(QVideoFrame::ReadOnly)) { if (mMappable) { if (!mBitsToTextureMap.contains(vF.bits())) { -- cgit v1.2.3