summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video/qvideoframe.h
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-10-07 12:03:35 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-07 08:29:57 +0200
commitadca03adfd80c0a87083d73e8d8c71229fc35652 (patch)
tree51e76584ae08b14f85fbf8f5197fac554d63cd64 /src/multimedia/video/qvideoframe.h
parent03f22bcdaf1f80083618856d6e4140d3062f175b (diff)
Improve video test coverage and debugging output.
Added a few debug operators for some useful enums, and added tests for them. One or two other features not really tested. Change-Id: Idffec6ade1d4e05dbf72f3dc47dfc0d01ddddf8b Reviewed-on: http://codereview.qt-project.org/6201 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/multimedia/video/qvideoframe.h')
-rw-r--r--src/multimedia/video/qvideoframe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideoframe.h b/src/multimedia/video/qvideoframe.h
index 6dffaf59d..9797a586a 100644
--- a/src/multimedia/video/qvideoframe.h
+++ b/src/multimedia/video/qvideoframe.h
@@ -163,6 +163,10 @@ private:
QExplicitlySharedDataPointer<QVideoFramePrivate> d;
};
+#ifndef QT_NO_DEBUG_STREAM
+Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QVideoFrame::PixelFormat );
+#endif
+
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QVideoFrame::FieldType)