From 6d7e41016e366cff31dbefb0067070aea5ea8dd3 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Sat, 2 Nov 2013 15:14:01 +0100 Subject: [PATCH] TagList: Add Tags property --- sources/custom/TagList.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sources/custom/TagList.cs b/sources/custom/TagList.cs index 6003b574b8..63680ce612 100644 --- a/sources/custom/TagList.cs +++ b/sources/custom/TagList.cs @@ -41,6 +41,17 @@ namespace Gst } } + public string[] Tags { + get { + int size = NTags (); + string[] tags = new string[size]; + for (uint i = 0; i < size; i++) + tags [i] = NthTagName (i); + + return tags; + } + } + public void Add (Gst.TagMergeMode mode, string tag, object value) { if (!Tag.Exists (tag))