mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
fix warnings
Original commit message from CVS: fix warnings
This commit is contained in:
parent
e3f2b79c4f
commit
5491775d74
1 changed files with 3 additions and 6 deletions
|
@ -103,14 +103,11 @@ static void
|
||||||
gst_gsmdec_base_init (gpointer g_class)
|
gst_gsmdec_base_init (gpointer g_class)
|
||||||
{
|
{
|
||||||
GstElementClass *element_class = GST_ELEMENT_CLASS (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,
|
gsmdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS, gsm_caps_factory(), NULL);
|
||||||
gsm_caps, NULL);
|
|
||||||
gsmdec_src_template = gst_pad_template_new ("src", GST_PAD_SRC,
|
gsmdec_src_template = gst_pad_template_new ("src", GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS, raw_caps_factory(), NULL);
|
||||||
raw_caps, NULL);
|
|
||||||
gst_element_class_add_pad_template (element_class, gsmdec_sink_template);
|
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_add_pad_template (element_class, gsmdec_src_template);
|
||||||
gst_element_class_set_details (element_class, &gst_gsmdec_details);
|
gst_element_class_set_details (element_class, &gst_gsmdec_details);
|
||||||
|
|
Loading…
Reference in a new issue