gstfilesink.c \
gstfilesrc.c \
gstidentity.c \
+ gstmultiqueue.c \
gstqueue.c \
gstqueue2.c \
gsttee.c \
gsttypefindelement.c \
- gstmultiqueue.c
+ gstvalve.c
libgstcoreelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
libgstcoreelements_la_LIBADD = \
gstfilesink.h \
gstfilesrc.h \
gstidentity.h \
+ gstmultiqueue.h \
gstqueue.h \
gstqueue2.h \
gsttee.h \
gsttypefindelement.h \
- gstmultiqueue.h
+ gstvalve.h
EXTRA_DIST = gstfdsrc.c \
gstfdsink.c
#include "gstfilesink.h"
#include "gstfilesrc.h"
#include "gstidentity.h"
+#include "gstmultiqueue.h"
#include "gstqueue.h"
#include "gstqueue2.h"
#include "gsttee.h"
#include "gsttypefindelement.h"
-#include "gstmultiqueue.h"
+#include "gstvalve.h"
struct _elements_entry
{
{"tee", GST_RANK_NONE, gst_tee_get_type},
{"typefind", GST_RANK_NONE, gst_type_find_element_get_type},
{"multiqueue", GST_RANK_NONE, gst_multi_queue_get_type},
+ {"valve", GST_RANK_NONE, gst_valve_get_type},
{NULL, 0},
};
return caps;
}
-
-
-static gboolean
-plugin_init (GstPlugin * plugin)
-{
- return gst_element_register (plugin, "valve",
- GST_RANK_MARGINAL, GST_TYPE_VALVE);
-}
-
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- "valve",
- "Valve",
- plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)