QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GStreamerLogging.h
Go to the documentation of this file.
1#pragma once
2
3#include <gst/gst.h>
4#include <optional>
5
6namespace GStreamer {
8
14
19
20// Unless nativeDebugLogRequested(), replace gst's default log function with qtGstLog. Then apply @p level, the
21// persisted gstDebugLevel setting, else that setting's default (disabled), unless GST_DEBUG is set. Also before
22// gst_init(), which then logs through qtGstLog at that level from its first line.
23void configureDebugLogging(std::optional<int> level = std::nullopt);
24
25void qtGstLog(GstDebugCategory* category, GstDebugLevel level, const gchar* file, const gchar* function, gint line,
26 GObject* object, GstDebugMessage* message, gpointer data);
27} // namespace GStreamer
void qtGstLog(GstDebugCategory *category, GstDebugLevel level, const gchar *file, const gchar *function, gint line, GObject *object, GstDebugMessage *message, gpointer data)
bool externalPluginLoaderFailed()
void resetExternalPluginLoaderFailed()
void redirectGLibLogging()
bool nativeDebugLogRequested()
void configureDebugLogging(std::optional< int > level)