pleorasink: add GigE Vision sink for eBUS GEV Tx API
Most basic working implementation
This commit is contained in:
35
sys/pleora/gstpleora.cpp
Normal file
35
sys/pleora/gstpleora.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstpleorasink.h"
|
||||
#include "gstpleorasrc.h"
|
||||
|
||||
#define GST_CAT_DEFAULT gst_pleora_debug
|
||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
|
||||
|
||||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "pleora", 0,
|
||||
"debug category for pleora plugin");
|
||||
|
||||
if (!gst_element_register (plugin, "pleorasink", GST_RANK_NONE,
|
||||
gst_pleorasink_get_type ())) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!gst_element_register (plugin, "pleorasrc", GST_RANK_NONE,
|
||||
gst_pleorasrc_get_type ())) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
pleora,
|
||||
"Pleora eBUS video sink/source",
|
||||
plugin_init, GST_PACKAGE_VERSION, GST_PACKAGE_LICENSE, GST_PACKAGE_NAME,
|
||||
GST_PACKAGE_ORIGIN)
|
||||
Reference in New Issue
Block a user