summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video/qvideoframe.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-02 17:07:08 +0100
committerLars Knoll <lars.knoll@qt.io>2021-03-16 07:46:05 +0000
commit018c46d0ea7e4836b2f54e0dd97b2f0a351ae379 (patch)
treeaf69764f25d9f65832c79533c68d0656bf93d7cd /src/multimedia/video/qvideoframe.h
parent4b99f984a014a90f554bc1924ebae11e25af597c (diff)
Some smaller cleanups
Change-Id: I44ad31af07b122ee69bb3a7682550f7930e0d366 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/multimedia/video/qvideoframe.h')
-rw-r--r--src/multimedia/video/qvideoframe.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/multimedia/video/qvideoframe.h b/src/multimedia/video/qvideoframe.h
index c240811a4..93751c853 100644
--- a/src/multimedia/video/qvideoframe.h
+++ b/src/multimedia/video/qvideoframe.h
@@ -95,13 +95,11 @@ public:
Format_Jpeg,
Format_CameraRaw,
- Format_AdobeDng,
-
+ Format_AdobeDng
+ };
#ifndef Q_QDOC
- NPixelFormats,
+ static constexpr int NPixelFormats = Format_AdobeDng + 1;
#endif
- Format_User = 1000
- };
enum HandleType
{