From 8e8f890424179006be9aa288b0bab628c0026cf5 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Thu, 7 Aug 2014 17:15:29 +0200 Subject: [PATCH] TagList: Fix Value passing --- sources/custom/TagList.cs | 4 ++-- sources/gstreamer-sharp.metadata | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sources/custom/TagList.cs b/sources/custom/TagList.cs index 7913576307..8be903de06 100644 --- a/sources/custom/TagList.cs +++ b/sources/custom/TagList.cs @@ -28,10 +28,10 @@ namespace Gst public object this [string tag] { get { - GLib.Value v; + var v = GLib.Value.Empty; bool success; - success = CopyValue (out v, this, tag); + success = CopyValue (ref v, this, tag); if (!success) return null; diff --git a/sources/gstreamer-sharp.metadata b/sources/gstreamer-sharp.metadata index fbb36abe7c..bb50df8236 100644 --- a/sources/gstreamer-sharp.metadata +++ b/sources/gstreamer-sharp.metadata @@ -209,6 +209,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA true gpointer false + ref guint8* n_length -- 2.34.1