QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
gstqgc.cc
Go to the documentation of this file.
1#include "gstqgcelements.h"
2#include "qgc_version.h"
3
4#define GST_CAT_DEFAULT gst_qgc_debug
6
7void qgc_element_init(GstPlugin* plugin)
8{
9 (void) plugin;
10 static gsize res = FALSE;
11 if (g_once_init_enter(&res)) {
12 GST_DEBUG_CATEGORY_INIT(gst_qgc_debug, "qgc", 0, "QGC");
13 g_once_init_leave(&res, TRUE);
14 }
15}
16
17static gboolean plugin_init(GstPlugin* plugin)
18{
19 if (!GST_ELEMENT_REGISTER(qgcvideosinkbin, plugin))
20 return FALSE;
21 if (!GST_ELEMENT_REGISTER(qgcqvideosink, plugin))
22 return FALSE;
23 return TRUE;
24}
25
26#define GST_PACKAGE_NAME "GStreamer plugin for QGC's Video Receiver"
27#define GST_PACKAGE_ORIGIN "https://qgroundcontrol.com/"
28#define GST_LICENSE "LGPL"
29#define PACKAGE "QGC Video Receiver"
30#define PACKAGE_VERSION QGC_APP_VERSION_STR
31
32GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, GST_VERSION_MINOR, qgc, "QGC Video Receiver Plugin", plugin_init, PACKAGE_VERSION,
#define GST_LICENSE
Definition gstqgc.cc:28
static gboolean plugin_init(GstPlugin *plugin)
Definition gstqgc.cc:17
#define GST_PACKAGE_NAME
Definition gstqgc.cc:26
#define PACKAGE_VERSION
Definition gstqgc.cc:30
#define GST_PACKAGE_ORIGIN
Definition gstqgc.cc:27
GST_DEBUG_CATEGORY(GST_CAT_DEFAULT)
#define GST_CAT_DEFAULT
Definition gstqgc.cc:4
void qgc_element_init(GstPlugin *plugin)
Definition gstqgc.cc:7
G_BEGIN_DECLS GstDebugCategory * gst_qgc_debug