diff options
Diffstat (limited to 'ext/bz2/gstbz2dec.c')
-rw-r--r-- | ext/bz2/gstbz2dec.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/bz2/gstbz2dec.c b/ext/bz2/gstbz2dec.c index f4b3a8d9..1017261a 100644 --- a/ext/bz2/gstbz2dec.c +++ b/ext/bz2/gstbz2dec.c @@ -179,14 +179,10 @@ gst_bz2dec_init (GstBz2dec * b, GstBz2decClass * klass) b->first_buffer_size = DEFAULT_FIRST_BUFFER_SIZE; b->buffer_size = DEFAULT_BUFFER_SIZE; - pad = - gst_pad_new_from_template (gst_static_pad_template_get (&sink_template), - "sink"); + pad = gst_pad_new_from_static_template (&sink_template, "sink"); gst_pad_set_chain_function (pad, gst_bz2dec_chain); gst_element_add_pad (GST_ELEMENT (b), pad); - pad = - gst_pad_new_from_template (gst_static_pad_template_get (&src_template), - "src"); + pad = gst_pad_new_from_static_template (&src_template, "src"); gst_element_add_pad (GST_ELEMENT (b), pad); gst_pad_use_fixed_caps (pad); |