mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gsmenc: fix unused-but-set-variable compiler warning
This commit is contained in:
parent
9b31cade1e
commit
c6edc0463d
1 changed files with 0 additions and 3 deletions
|
@ -136,11 +136,8 @@ gst_gsmenc_stop (GstAudioEncoder * enc)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_gsmenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info)
|
gst_gsmenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info)
|
||||||
{
|
{
|
||||||
GstGSMEnc *gsmenc;
|
|
||||||
GstCaps *srccaps;
|
GstCaps *srccaps;
|
||||||
|
|
||||||
gsmenc = GST_GSMENC (benc);
|
|
||||||
|
|
||||||
srccaps = gst_static_pad_template_get_caps (&gsmenc_src_template);
|
srccaps = gst_static_pad_template_get_caps (&gsmenc_src_template);
|
||||||
gst_pad_set_caps (GST_AUDIO_ENCODER_SRC_PAD (benc), srccaps);
|
gst_pad_set_caps (GST_AUDIO_ENCODER_SRC_PAD (benc), srccaps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue