replace gst_tag_list_free with gst_tag_list_unref

This commit is contained in:
Mark Nauwelaerts 2012-09-14 17:52:14 +02:00
parent abf21d1f6d
commit 3cf8b945ca
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ main (int argc, char ** argv)
g_print ("Got tags from element %s:\n", GST_OBJECT_NAME (msg->src)); g_print ("Got tags from element %s:\n", GST_OBJECT_NAME (msg->src));
gst_tag_list_foreach (tags, print_one_tag, NULL); gst_tag_list_foreach (tags, print_one_tag, NULL);
g_print ("\n"); g_print ("\n");
gst_tag_list_free (tags); gst_tag_list_unref (tags);
gst_message_unref (msg); gst_message_unref (msg);
}; };

View file

@ -236,7 +236,7 @@ g_signal_connect (bus, "message::eos", G_CALLBACK (cb_message_eos), NULL);
stream-information, such as samplerate and bitrate). Applications stream-information, such as samplerate and bitrate). Applications
should cache metadata internally. <function>gst_message_parse_tag should cache metadata internally. <function>gst_message_parse_tag
()</function> should be used to parse the taglist, which should ()</function> should be used to parse the taglist, which should
be <function>gst_tag_list_free ()</function>'ed when no longer be <function>gst_tag_list_unref ()</function>'ed when no longer
needed. needed.
</para> </para>
</listitem> </listitem>