summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qmediametadata.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-09 22:52:39 +0100
committerLars Knoll <lars.knoll@qt.io>2021-03-19 14:11:03 +0000
commit94460c0638c133565f16b6158a5882bfbd2015fb (patch)
tree8b0ae156167423f032618193ba79d83285356973 /src/multimedia/qmediametadata.cpp
parent6c81ee02f0cdfea3b38e615da6e3bea693ff80f5 (diff)
Some fixes to meta data handling
Remove the year property, Date is much more useful and complete (plus it's supported everywhere). Fix some bugs in the gstreamer implementation. Change-Id: Ib2be80e73bc432e7dfa20e33da782017194db5dd Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/qmediametadata.cpp')
-rw-r--r--src/multimedia/qmediametadata.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/multimedia/qmediametadata.cpp b/src/multimedia/qmediametadata.cpp
index 7a2ee634f..466507a4e 100644
--- a/src/multimedia/qmediametadata.cpp
+++ b/src/multimedia/qmediametadata.cpp
@@ -65,7 +65,6 @@ QT_BEGIN_NAMESPACE
\row \li Description \li A description of the media. \li QString
\row \li Category \li The category of the media. \li QStringList
\row \li Genre \li The genre of the media. \li QStringList
- \row \li Year \li The year of release of the media. \li int
\row \li Date \li The date of the media. \li QDate.
\row \li UserRating \li A user rating of the media. \li int [0..100]
\row \li Keywords \li A list of keywords describing the media. \li QStringList
@@ -249,7 +248,6 @@ QString QMediaMetaData::stringValue(QMediaMetaData::Key k) const
case Comment:
case Description:
case Genre:
- case Year:
case Language:
case Publisher:
case Copyright:
@@ -300,8 +298,6 @@ QString QMediaMetaData::metaDataKeyToString(QMediaMetaData::Key k)
return (QObject::tr("Description"));
case QMediaMetaData::Genre:
return (QObject::tr("Genre"));
- case QMediaMetaData::Year:
- return (QObject::tr("Year"));
case QMediaMetaData::Date:
return (QObject::tr("Date"));
case QMediaMetaData::Language: