summaryrefslogtreecommitdiffstats
path: root/gst/valve
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-10 17:57:16 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:59 +0100
commitf00727f39a2cf4622d3035b8cdf8b065eb7d984e (patch)
tree9ef164bfac9077076d26062cb5f810dadbc018dc /gst/valve
parentd1c9b30adae04fcbfe74399c00e91c5073c6dc72 (diff)
downloadgst-plugins-bad-f00727f39a2cf4622d3035b8cdf8b065eb7d984e.tar.gz
gst-plugins-bad-f00727f39a2cf4622d3035b8cdf8b065eb7d984e.tar.bz2
gst-plugins-bad-f00727f39a2cf4622d3035b8cdf8b065eb7d984e.zip
Rename fsvalve to valve
Diffstat (limited to 'gst/valve')
-rw-r--r--gst/valve/gstvalve.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/gst/valve/gstvalve.c b/gst/valve/gstvalve.c
index a939259c..6c8c6072 100644
--- a/gst/valve/gstvalve.c
+++ b/gst/valve/gstvalve.c
@@ -265,22 +265,8 @@ gst_valve_buffer_alloc (GstPad * pad, guint64 offset, guint size,
return ret;
}
-
-gboolean
-gst_valve_plugin_init (GstPlugin * plugin)
-{
- return gst_element_register (plugin, "fsvalve",
- GST_RANK_MARGINAL, GST_TYPE_VALVE);
-}
-
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- "fsvalve",
- "Valve",
- gst_valve_plugin_init, VERSION, "LGPL", "Farsight",
- "http://farsight.sf.net")
-
- static GstCaps *gst_valve_getcaps (GstPad * pad)
+static GstCaps *
+gst_valve_getcaps (GstPad * pad)
{
GstValve *valve = GST_VALVE (gst_pad_get_parent (pad));
GstCaps *caps;
@@ -297,3 +283,17 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
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)