summaryrefslogtreecommitdiff
path: root/ext/speex
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-04 16:10:16 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-04 16:10:16 +0100
commitc074bfd0b995608ac4c3aa33ca41e2c39604191e (patch)
tree0c000fa33f7d526e2d829d5ebf3867c41b358f9c /ext/speex
parenta549b0bf2c03eba92e813e0ec24f7f8d5bfba04a (diff)
downloadgstreamer-plugins-good-c074bfd0b995608ac4c3aa33ca41e2c39604191e.tar.gz
gst_tag_list_free -> gst_tag_list_unref
Diffstat (limited to 'ext/speex')
-rw-r--r--ext/speex/gstspeexdec.c2
-rw-r--r--ext/speex/gstspeexenc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c
index fd1a80053..1478cfd54 100644
--- a/ext/speex/gstspeexdec.c
+++ b/ext/speex/gstspeexdec.c
@@ -312,7 +312,7 @@ gst_speex_dec_parse_comments (GstSpeexDec * dec, GstBuffer * buf)
gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dec), list,
GST_TAG_MERGE_REPLACE);
- gst_tag_list_free (list);
+ gst_tag_list_unref (list);
g_free (encoder);
g_free (ver);
diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c
index f475cab4f..15f1aac73 100644
--- a/ext/speex/gstspeexenc.c
+++ b/ext/speex/gstspeexenc.c
@@ -269,7 +269,7 @@ gst_speex_enc_stop (GstAudioEncoder * benc)
enc->state = NULL;
}
speex_bits_destroy (&enc->bits);
- gst_tag_list_free (enc->tags);
+ gst_tag_list_unref (enc->tags);
enc->tags = NULL;
gst_tag_setter_reset_tags (GST_TAG_SETTER (enc));
@@ -350,7 +350,7 @@ gst_speex_enc_create_metadata_buffer (GstSpeexEnc * enc)
GST_DEBUG_OBJECT (enc, "merged tags = %" GST_PTR_FORMAT, merged_tags);
comments = gst_tag_list_to_vorbiscomment_buffer (merged_tags, NULL,
0, "Encoded with GStreamer Speexenc");
- gst_tag_list_free (merged_tags);
+ gst_tag_list_unref (merged_tags);
GST_BUFFER_OFFSET (comments) = 0;
GST_BUFFER_OFFSET_END (comments) = 0;