mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-02 21:39:23 +00:00
30 lines
626 B
C
30 lines
626 B
C
#include <gst/gst.h>
|
|
|
|
#include "rssource.h"
|
|
#include "rsfilesink.h"
|
|
|
|
static gboolean
|
|
plugin_init (GstPlugin * plugin)
|
|
{
|
|
if (!gst_rs_source_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "rsfilesink", GST_RANK_NONE,
|
|
GST_TYPE_RSFILE_SINK)) {
|
|
return FALSE;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
#define VERSION "1.0"
|
|
#define PACKAGE "rsplugin"
|
|
#define GST_PACKAGE_NAME PACKAGE
|
|
#define GST_PACKAGE_ORIGIN "http://www.example.org"
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
GST_VERSION_MINOR,
|
|
rsplugin,
|
|
"Rust Plugin", plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME,
|
|
GST_PACKAGE_ORIGIN);
|