From 5491775d74ab9fea58e31970f44e0f149771c48a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 3 Nov 2003 20:14:37 +0000 Subject: [PATCH] fix warnings Original commit message from CVS: fix warnings --- ext/gsm/gstgsmdec.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c index bdf6d84cf2..a3d7ec05b7 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);