From 3cbcad1da31e046a0ccb6faf6463aa5305783ff6 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 23 Aug 2005 18:19:10 +0000 Subject: [PATCH] style fixes Original commit message from CVS: style fixes --- gst/volume/gstvolume.c | 9 +++++---- gst/volume/gstvolume.h | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 8aa08a1585..094de2a0a7 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -67,7 +67,7 @@ enum PROP_VOLUME }; -static GstStaticPadTemplate volume_sink_factory = +static GstStaticPadTemplate volume_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, @@ -84,7 +84,8 @@ static GstStaticPadTemplate volume_sink_factory = "width = (int) 16, " "depth = (int) 16, " "signed = (bool) TRUE") ); -static GstStaticPadTemplate volume_src_factory = GST_STATIC_PAD_TEMPLATE ("src", +static GstStaticPadTemplate volume_src_template = GST_STATIC_PAD_TEMPLATE + ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw-float, " @@ -248,9 +249,9 @@ gst_volume_base_init (gpointer g_class) GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&volume_src_factory)); + gst_static_pad_template_get (&volume_src_template)); gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&volume_sink_factory)); + gst_static_pad_template_get (&volume_sink_template)); gst_element_class_set_details (element_class, &volume_details); } diff --git a/gst/volume/gstvolume.h b/gst/volume/gstvolume.h index 9b494d2917..b2ac9934de 100644 --- a/gst/volume/gstvolume.h +++ b/gst/volume/gstvolume.h @@ -24,6 +24,7 @@ #define __GST_VOLUME_H__ #include +#include G_BEGIN_DECLS