summaryrefslogtreecommitdiff
path: root/ext/gsm
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-11-03 20:14:37 +0000
committerDavid Schleef <ds@schleef.org>2003-11-03 20:14:37 +0000
commit5491775d74ab9fea58e31970f44e0f149771c48a (patch)
tree3c4945f24f15e85a3ddbb1409a08260104b54a25 /ext/gsm
parente3f2b79c4f6ad5b2fad558e795238cb2f1179b05 (diff)
fix warnings
Original commit message from CVS: fix warnings
Diffstat (limited to 'ext/gsm')
-rw-r--r--ext/gsm/gstgsmdec.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c
index bdf6d84cf..a3d7ec05b 100644
--- a/ext/gsm/gstgsmdec.c
+++ b/ext/gsm/gstgsmdec.c
@@ -103,14 +103,11 @@ static void
gst_gsmdec_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- GstCaps *raw_caps, *gsm_caps;
gsmdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
- GST_PAD_ALWAYS,
- gsm_caps, NULL);
- gsmdec_src_template = gst_pad_template_new ("src", GST_PAD_SRC,
- GST_PAD_ALWAYS,
- raw_caps, NULL);
+ GST_PAD_ALWAYS, gsm_caps_factory(), NULL);
+ gsmdec_src_template = gst_pad_template_new ("src", GST_PAD_SRC,
+ GST_PAD_ALWAYS, raw_caps_factory(), NULL);
gst_element_class_add_pad_template (element_class, gsmdec_sink_template);
gst_element_class_add_pad_template (element_class, gsmdec_src_template);
gst_element_class_set_details (element_class, &gst_gsmdec_details);