diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-01-04 11:04:32 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-21 19:56:52 +0000 |
commit | c355d98b045834a494e9fda634388f82c8f625a9 (patch) | |
tree | d7da3ea5d5c504f37f2d996cf9c66a4331259118 /src/multimedia/video/qvideoframe.h | |
parent | 4808ad4d6d65fb9d71625583472e5952154cdf09 (diff) |
Remove the fieldType property of QVideoFrame
It's never set to anything else than ProgressiveFrame
anyway (aka it's unused/unsupported).
Change-Id: I9e89a2e8ec54c827a6c7b871f97af090f0593d1a
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.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/multimedia/video/qvideoframe.h b/src/multimedia/video/qvideoframe.h index 268e82d70..930bdd5bd 100644 --- a/src/multimedia/video/qvideoframe.h +++ b/src/multimedia/video/qvideoframe.h @@ -55,14 +55,6 @@ class QVideoFramePrivate; class Q_MULTIMEDIA_EXPORT QVideoFrame { public: - enum FieldType - { - ProgressiveFrame, - TopField, - BottomField, - InterlacedFrame - }; - enum PixelFormat { Format_Invalid, @@ -132,9 +124,6 @@ public: int width() const; int height() const; - FieldType fieldType() const; - void setFieldType(FieldType); - bool isMapped() const; bool isReadable() const; bool isWritable() const; @@ -177,14 +166,12 @@ private: #ifndef QT_NO_DEBUG_STREAM Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, const QVideoFrame&); -Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QVideoFrame::FieldType); Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QVideoFrame::PixelFormat); #endif QT_END_NAMESPACE Q_DECLARE_METATYPE(QVideoFrame) -Q_DECLARE_METATYPE(QVideoFrame::FieldType) Q_DECLARE_METATYPE(QVideoFrame::PixelFormat) #endif |