Unverified Commit 553aeaea authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #8354 from andrewvoznytsa/pr-video-receiver-logger-cleanup

Use VideoReceiverLog category for video streaming stuff
parents 4fdc5f5f 002f10b1
This diff is collapsed.
......@@ -17,6 +17,8 @@
#include <QtQml>
#include <QDebug>
#include "VideoReceiver.h"
#if defined(QGC_GST_STREAMING)
#include <gst/gst.h>
......@@ -146,7 +148,7 @@ void initializeVideoStreaming(int &argc, char* argv[], int gstDebuglevel)
GError* error = nullptr;
if (!gst_init_check(&argc, &argv, &error)) {
qCritical() << "gst_init_check() failed: " << error->message;
qCCritical(VideoReceiverLog) << "gst_init_check() failed: " << error->message;
g_error_free(error);
}
......@@ -192,7 +194,7 @@ void initializeVideoStreaming(int &argc, char* argv[], int gstDebuglevel)
gst_object_unref(sink);
sink = nullptr;
} else {
qCritical() << "unable to find qmlglsink - you need to build it yourself and add to GST_PLUGIN_PATH";
qCCritical(VideoReceiverLog) << "unable to find qmlglsink - you need to build it yourself and add to GST_PLUGIN_PATH";
}
GST_PLUGIN_STATIC_REGISTER(qgc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment