diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-04-20 11:36:46 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-04-27 06:11:46 +0000 |
commit | 934cdc9da185d5b7e85f898259ede4dcac9dcc21 (patch) | |
tree | 0feccb06492304284f976c96711549d294755c53 /src/multimedia/qmediaformat.h | |
parent | d69631a206982c35c856103f27f5a9e4ed449883 (diff) |
Fix tst_qmediaencoder
Fix and re-enable all tests for QMediaEncoderSettings
while at it.
Change-Id: Ie15cd59a849412e02c6d38c91bf1bea16456cdd5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/multimedia/qmediaformat.h')
-rw-r--r-- | src/multimedia/qmediaformat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/multimedia/qmediaformat.h b/src/multimedia/qmediaformat.h index 3b8b9d9ce..4bd070135 100644 --- a/src/multimedia/qmediaformat.h +++ b/src/multimedia/qmediaformat.h @@ -147,6 +147,10 @@ public: static QString audioCodecDescription(QMediaFormat::AudioCodec c); static QString videoCodecDescription(QMediaFormat::VideoCodec c); + bool operator==(const QMediaFormat &other) const; + bool operator!=(const QMediaFormat &other) const + { return !operator==(other); } + protected: friend class QMediaFormatPrivate; Mode fmtMode; |