summaryrefslogtreecommitdiffstats
path: root/src/gsttools
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-04-17 11:55:41 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2018-04-19 09:37:51 +0000
commit700e1aa69744565b5327f6a5b185cffb9c9c149f (patch)
treef8168c29b6fe0ce34514c5b242e25638c095d653 /src/gsttools
parent6d56f614065e7b006a4958c848e13cabb0a68adb (diff)
Doc: Fix documentation warnings
Add a custom module header, used only for documentation builds, that pulls in also the QtMultimediaWidgets module. Several documentation fixes to clean up warnings from clang. Task-number: QTBUG-67790 Change-Id: I6c1013798a648250c8555eb92684ec3b33ff7531 Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gsttools')
-rw-r--r--src/gsttools/qgstutils.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gsttools/qgstutils.cpp b/src/gsttools/qgstutils.cpp
index 6a573fa78..8849208d3 100644
--- a/src/gsttools/qgstutils.cpp
+++ b/src/gsttools/qgstutils.cpp
@@ -175,6 +175,11 @@ static void addTagToMap(const GstTagList *list,
}
/*!
+ \class QGstUtils
+ \internal
+/*
+
+/*!
Convert GstTagList structure to QMap<QByteArray, QVariant>.
Mapping to int, bool, char, string, fractions and date are supported.
@@ -190,7 +195,7 @@ QMap<QByteArray, QVariant> QGstUtils::gstTagListToMap(const GstTagList *tags)
/*!
Returns resolution of \a caps.
- If caps doesn't have a valid size, and ampty QSize is returned.
+ If caps doesn't have a valid size, an empty QSize is returned.
*/
QSize QGstUtils::capsResolution(const GstCaps *caps)
{
@@ -361,7 +366,7 @@ QAudioFormat QGstUtils::audioFormatForCaps(const GstCaps *caps)
}
#if GST_CHECK_VERSION(1,0,0)
-/*!
+/*
Returns audio format for a sample.
If the buffer doesn't have a valid audio format, an empty QAudioFormat is returned.
*/