projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91190ee
)
valve: gst_element_class_set_details => gst_element_class_set_details_simple
author
Benjamin Otte
<otte@redhat.com>
Thu, 18 Mar 2010 16:30:26 +0000
(17:30 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:51:10 +0000
(
00:51
+0000)
plugins/elements/gstvalve.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstvalve.c
b/plugins/elements/gstvalve.c
index
702b3e5
..
3fc1908
100644
(file)
--- a/
plugins/elements/gstvalve.c
+++ b/
plugins/elements/gstvalve.c
@@
-45,14
+45,6
@@
GST_DEBUG_CATEGORY (valve_debug);
#define GST_CAT_DEFAULT (valve_debug)
GST_DEBUG_CATEGORY (valve_debug);
#define GST_CAT_DEFAULT (valve_debug)
-/* elementfactory information */
-static const GstElementDetails gst_valve_details =
-GST_ELEMENT_DETAILS ("Valve element",
- "Filter",
- "This element drops all packets when drop is TRUE",
- "Olivier Crete <olivier.crete@collabora.co.uk>");
-
-
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@
-109,7
+101,10
@@
gst_valve_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_details (element_class, &gst_valve_details);
+ gst_element_class_set_details_simple (element_class, "Valve element",
+ "Filter",
+ "This element drops all packets when drop is TRUE",
+ "Olivier Crete <olivier.crete@collabora.co.uk>");
}
static void
}
static void