diff --git a/src/VideoStreaming/gstqtvideosink/painters/openglsurfacepainter.cpp b/src/VideoStreaming/gstqtvideosink/painters/openglsurfacepainter.cpp index 91921e9..b77bf0a 100644 --- a/src/VideoStreaming/gstqtvideosink/painters/openglsurfacepainter.cpp +++ b/src/VideoStreaming/gstqtvideosink/painters/openglsurfacepainter.cpp @@ -67,26 +67,26 @@ OpenGLSurfacePainter::OpenGLSurfacePainter() //static QSet OpenGLSurfacePainter::supportedPixelFormats() { - return QSet() + return QSet({ //also handled by the generic painter on LE - << GST_VIDEO_FORMAT_BGRA - << GST_VIDEO_FORMAT_BGRx + GST_VIDEO_FORMAT_BGRA, + GST_VIDEO_FORMAT_BGRx, //also handled by the generic painter on BE - << GST_VIDEO_FORMAT_ARGB - << GST_VIDEO_FORMAT_xRGB + GST_VIDEO_FORMAT_ARGB, + GST_VIDEO_FORMAT_xRGB, //also handled by the generic painter everywhere - << GST_VIDEO_FORMAT_RGB - << GST_VIDEO_FORMAT_RGB16 + GST_VIDEO_FORMAT_RGB, + GST_VIDEO_FORMAT_RGB16, //not handled by the generic painter - << GST_VIDEO_FORMAT_BGR - << GST_VIDEO_FORMAT_v308 - << GST_VIDEO_FORMAT_AYUV - << GST_VIDEO_FORMAT_YV12 - << GST_VIDEO_FORMAT_I420 - ; + GST_VIDEO_FORMAT_BGR, + GST_VIDEO_FORMAT_v308, + GST_VIDEO_FORMAT_AYUV, + GST_VIDEO_FORMAT_YV12, + GST_VIDEO_FORMAT_I420, + }); } void OpenGLSurfacePainter::updateColors(int brightness, int contrast, int hue, int saturation)