From bdda44d84958e6c66b4123ca34ad265ab5c889ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 21 Apr 2009 19:27:35 +0200 Subject: [PATCH] Fix bindings of the tag merge functions --- gstreamer-sharp/Gstreamer.metadata | 7 ++++--- gstreamer-sharp/Tag.custom | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata index 3b649087d4..06e85bd39c 100644 --- a/gstreamer-sharp/Gstreamer.metadata +++ b/gstreamer-sharp/Gstreamer.metadata @@ -451,8 +451,8 @@ 1 1 - ref - ref + 1 + 1 1 @@ -498,7 +498,8 @@ 1 true - ref + out + ref 1 diff --git a/gstreamer-sharp/Tag.custom b/gstreamer-sharp/Tag.custom index 08ae51d172..aac51e121b 100644 --- a/gstreamer-sharp/Tag.custom +++ b/gstreamer-sharp/Tag.custom @@ -9,6 +9,20 @@ public static void Register (string name, Gst.TagFlags flag, System.Type type, s Register (name, flag, gt, nick, blurb, func); } + [DllImport("gstreamer-0.10.dll")] + static extern void gst_tag_merge_strings_with_comma(out GLib.Value dest, ref GLib.Value src); + + public static void MergeStringsWithComma(out GLib.Value dest, ref GLib.Value src) { + gst_tag_merge_strings_with_comma(out dest, ref src); + } + + [DllImport("gstreamer-0.10.dll")] + static extern void gst_tag_merge_use_first(out GLib.Value dest, ref GLib.Value src); + + public static void MergeUseFirst(out GLib.Value dest, ref GLib.Value src) { + gst_tag_merge_use_first(out dest, ref src); + } + public const string Title = "title"; public const string TitleSortname = "title-sortname"; public const string Artist = "artist";