summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-12-08 14:00:55 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-10 09:06:40 +0000
commit7dd077d82abc06e0e9d7a2700900b4682ce14e01 (patch)
tree8197cc147570450092ec9b75d28ba057aa44de49
parent142699fe2bd019c084d877b6b9e878f9cf03fee4 (diff)
Better debug output for pixel formats
Write out the enum value correctly, not mingled with quotes. Change-Id: I9a39392b9c962ccbcdb46abb6e5ff095395cb052 Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit b827f136407fba392c0963d52d2ad6504c991222) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/multimedia/video/qvideoframeformat.cpp2
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