diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-03-02 17:07:08 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-03-16 07:46:05 +0000 |
commit | 018c46d0ea7e4836b2f54e0dd97b2f0a351ae379 (patch) | |
tree | af69764f25d9f65832c79533c68d0656bf93d7cd /src/multimedia/video/qvideoframe.cpp | |
parent | 4b99f984a014a90f554bc1924ebae11e25af597c (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.cpp')
-rw-r--r-- | src/multimedia/video/qvideoframe.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/multimedia/video/qvideoframe.cpp b/src/multimedia/video/qvideoframe.cpp index 221317056..b3a4ad368 100644 --- a/src/multimedia/video/qvideoframe.cpp +++ b/src/multimedia/video/qvideoframe.cpp @@ -570,7 +570,6 @@ bool QVideoFrame::map(QVideoFrame::MapMode mode) case Format_Jpeg: case Format_CameraRaw: case Format_AdobeDng: - case Format_User: // Single plane or opaque format. break; case Format_YUV420P: @@ -952,7 +951,6 @@ QImage::Format QVideoFrame::imageFormatFromPixelFormat(PixelFormat format) case Format_CameraRaw: case Format_AdobeDng: return QImage::Format_Invalid; - case Format_User: default: return QImage::Format_Invalid; } |