diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-09-22 15:08:25 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-09-22 18:54:09 +0200 |
commit | baa34e18560d816c82d8779fbb40b1911ee0e164 (patch) | |
tree | 8000bfb5fbb0fe5adbee84359fe490b05ddfd763 /src/multimedia/qmediaformat.cpp | |
parent | 903994ea7c96aaf7830353d3a0183ce5e46dab87 (diff) |
Fix the remaining qdoc warnings
Fix all qdoc warnings inside the Qt Multimedia module.
Pick-to: 6.2 6.2.0
Change-Id: I4a581aa4f9fa9d96d58279884116ed10ca7bf837
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/multimedia/qmediaformat.cpp')
-rw-r--r-- | src/multimedia/qmediaformat.cpp | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/multimedia/qmediaformat.cpp b/src/multimedia/qmediaformat.cpp index 49e9fda47..aca22205a 100644 --- a/src/multimedia/qmediaformat.cpp +++ b/src/multimedia/qmediaformat.cpp @@ -279,7 +279,7 @@ QT_DEFINE_QESDP_SPECIALIZATION_DTOR(QMediaFormatPrivate); \omitvalue LastAudioCodec */ -/*! \qmlproperty enumeration QMediaFormat::audioCodec +/*! \qmlproperty enumeration QtMultimedia::mediaFormat::audioCodec Describes the audio codec used in multimedia file or stream. It can take one of the following values: @@ -346,7 +346,7 @@ QT_DEFINE_QESDP_SPECIALIZATION_DTOR(QMediaFormatPrivate); \omitvalue LastVideoCodec */ -/*! \qmlproperty QtMultimedia::mediaFormat::videoCodec +/*! \qmlproperty enumeration QtMultimedia::mediaFormat::videoCodec Describes the video codec used in multimedia file or stream. It can take one of the following values: @@ -417,11 +417,6 @@ QMediaFormat &QMediaFormat::operator=(const QMediaFormat &other) noexcept = defa */ // Properties -/*! \qmlproperty QtMultimedia::mediaFormat::fileFormat - - The file (container) format of the media. -*/ - /*! \property QMediaFormat::fileFormat \brief The file (container) format of the media. @@ -429,11 +424,6 @@ QMediaFormat &QMediaFormat::operator=(const QMediaFormat &other) noexcept = defa \sa QMediaFormat::FileFormat */ -/*! \qmlproperty QtMultimedia::mediaFormat::audioCodec - - The audio codec of the media. -*/ - /*! \property QMediaFormat::audioCodec \brief The audio codec of the media. @@ -441,11 +431,6 @@ QMediaFormat &QMediaFormat::operator=(const QMediaFormat &other) noexcept = defa \sa QMediaFormat::AudioCodec */ -/*! \qmlproperty QtMultimedia::mediaFormat::videoCodec - - The video codec of the media. -*/ - /*! \property QMediaFormat::videoCodec \brief The video codec of the media. @@ -669,7 +654,7 @@ QString QMediaFormat::audioCodecName(QMediaFormat::AudioCodec codec) /*! Returns a string based name for \a codec. */ -QString QMediaFormat::videoCodecName(QMediaFormat::VideoCodec c) +QString QMediaFormat::videoCodecName(QMediaFormat::VideoCodec codec) { constexpr const char *descriptions[] = { "Invalid", @@ -685,7 +670,7 @@ QString QMediaFormat::videoCodecName(QMediaFormat::VideoCodec c) "WMV", "MotionJPEG" }; - return QString::fromUtf8(descriptions[int(c) + 1]); + return QString::fromUtf8(descriptions[int(codec) + 1]); } /*! |