TagList: Add Tags property
This commit is contained in:
parent
e2a67a2a0d
commit
6d7e41016e
@ -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…
x
Reference in New Issue
Block a user