summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2024-04-01 15:05:56 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-04-01 17:36:09 +0000
commitea98619e88499f29bb8c609147a4601f50de47bf (patch)
tree5a7e02a732de98cac69feb1c03a30b65e372a085
parente7797cd61c4d4acbeff27fb45018958efec71799 (diff)
GStreamer - log gstreamer version
small quality of life improvement Pick-to: 6.5 Change-Id: Idabcfbe2f760d532adaff708c7b04eccb1129bbf Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> (cherry picked from commit 85622ccaa1c0c2345a439118c18faf5e3a707686) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 2f6bcfd7fa5a7d7f2d84735a353fe60ee4378cbd)
-rw-r--r--src/plugins/multimedia/gstreamer/qgstreamerintegration.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/multimedia/gstreamer/qgstreamerintegration.cpp b/src/plugins/multimedia/gstreamer/qgstreamerintegration.cpp
index fbda94d54..e901370a7 100644
--- a/src/plugins/multimedia/gstreamer/qgstreamerintegration.cpp
+++ b/src/plugins/multimedia/gstreamer/qgstreamerintegration.cpp
@@ -14,11 +14,16 @@
#include <mediacapture/qgstreamermediacapture_p.h>
#include <mediacapture/qgstreamermediaencoder_p.h>
+#include <QtCore/qloggingcategory.h>
+
QT_BEGIN_NAMESPACE
+Q_LOGGING_CATEGORY(lcGstreamer, "qt.multimedia.gstreamer")
+
QGstreamerIntegration::QGstreamerIntegration()
{
gst_init(nullptr, nullptr);
+ qCDebug(lcGstreamer) << "Using gstreamer version: " << gst_version_string();
}
QPlatformMediaFormatInfo *QGstreamerIntegration::createFormatInfo()