replace gst_tag_list_free with gst_tag_list_unref
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 14 Sep 2012 15:52:14 +0000 (17:52 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 14 Sep 2012 15:52:14 +0000 (17:52 +0200)
docs/manual/advanced-metadata.xml
docs/manual/basics-bus.xml

index a8695e0..6a25e19 100644 (file)
@@ -135,7 +135,7 @@ main (int argc, char ** argv)
     g_print ("Got tags from element %s:\n", GST_OBJECT_NAME (msg-&gt;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);
   };
index 8b8bbc1..867826d 100644 (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
           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>