gst_tag_list_free -> gst_tag_list_unref

This commit is contained in:
Tim-Philipp Müller 2012-08-04 16:31:30 +01:00
parent de739ee1d1
commit a052550ed7
2 changed files with 2 additions and 2 deletions

View file

@ -344,7 +344,7 @@ gst_opus_enc_stop (GstAudioEncoder * benc)
opus_multistream_encoder_destroy (enc->state);
enc->state = NULL;
}
gst_tag_list_free (enc->tags);
gst_tag_list_unref (enc->tags);
enc->tags = NULL;
g_slist_foreach (enc->headers, (GFunc) gst_buffer_unref, NULL);
g_slist_free (enc->headers);

View file

@ -88,7 +88,7 @@ gst_opus_enc_create_metadata_buffer (const GstTagList * tags)
GST_BUFFER_OFFSET_END (comments) = 0;
if (empty_tags)
gst_tag_list_free (empty_tags);
gst_tag_list_unref (empty_tags);
return comments;
}