diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-12-08 14:00:55 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-12-10 09:43:55 +0100 |
commit | b827f136407fba392c0963d52d2ad6504c991222 (patch) | |
tree | e3c3f92da1dfd798dda0ba0a793f342e2f389c5a | |
parent | af3286225434fd995b4dfdcb6ebb379b6ffa741d (diff) |
Better debug output for pixel formats
Write out the enum value correctly, not mingled with quotes.
Pick-to: 6.2
Change-Id: I9a39392b9c962ccbcdb46abb6e5ff095395cb052
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r-- | src/multimedia/video/qvideoframeformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/video/qvideoframeformat.cpp b/src/multimedia/video/qvideoframeformat.cpp index f2b94038a..758411e70 100644 --- a/src/multimedia/video/qvideoframeformat.cpp +++ b/src/multimedia/video/qvideoframeformat.cpp @@ -818,7 +818,7 @@ QDebug operator<<(QDebug dbg, QVideoFrameFormat::PixelFormat pf) if (format.isEmpty()) return dbg; - dbg << QStringLiteral("Format_") << format; + dbg.noquote() << QStringLiteral("Format_") << format; return dbg; } #endif |