mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
TagList: Add Tags property
This commit is contained in:
parent
e2a67a2a0d
commit
6d7e41016e
1 changed files with 11 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue