mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
replace gst_tag_list_free with gst_tag_list_unref
This commit is contained in:
parent
abf21d1f6d
commit
3cf8b945ca
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ main (int argc, char ** argv)
|
|||
g_print ("Got tags from element %s:\n", GST_OBJECT_NAME (msg->src));
|
||||
gst_tag_list_foreach (tags, print_one_tag, NULL);
|
||||
g_print ("\n");
|
||||
gst_tag_list_free (tags);
|
||||
gst_tag_list_unref (tags);
|
||||
|
||||
gst_message_unref (msg);
|
||||
};
|
||||
|
|
|
@ -236,7 +236,7 @@ g_signal_connect (bus, "message::eos", G_CALLBACK (cb_message_eos), NULL);
|
|||
stream-information, such as samplerate and bitrate). Applications
|
||||
should cache metadata internally. <function>gst_message_parse_tag
|
||||
()</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.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
Loading…
Reference in a new issue