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:
69ea2ec
)
valve: move debug-category registration to type init
author
Stefan Kost
<ensonic@users.sf.net>
Tue, 28 Sep 2010 11:23:01 +0000
(14:23 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 28 Sep 2010 11:23:40 +0000
(14:23 +0300)
gst/valve/gstvalve.c
patch
|
blob
|
history
diff --git
a/gst/valve/gstvalve.c
b/gst/valve/gstvalve.c
index cb431d4dfd9d16a598e85e3854b4aa23d1e98746..cc8d8f0ec369956ee9d24a44e0dceff94a5190e3 100644
(file)
--- a/
gst/valve/gstvalve.c
+++ b/
gst/valve/gstvalve.c
@@
-82,11
+82,8
@@
static GstFlowReturn gst_valve_buffer_alloc (GstPad * pad, guint64 offset,
static GstFlowReturn gst_valve_chain (GstPad * pad, GstBuffer * buffer);
static GstCaps *gst_valve_getcaps (GstPad * pad);
-static void
-_do_init (GType type)
-{
+#define _do_init(bla) \
GST_DEBUG_CATEGORY_INIT (valve_debug, "valve", 0, "Valve");
-}
GST_BOILERPLATE_FULL (GstValve, gst_valve, GstElement,
GST_TYPE_ELEMENT, _do_init);