summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qmediaformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/qmediaformat.h')
-rw-r--r--src/multimedia/qmediaformat.h4
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;