diff --git a/samples/BasicTutorial8.cs b/samples/BasicTutorial8.cs index e3ddf9d88b..2b4bde5de9 100644 --- a/samples/BasicTutorial8.cs +++ b/samples/BasicTutorial8.cs @@ -125,7 +125,7 @@ namespace GstreamerSharp { b = 1; d = 1; - Gst.Audio.AudioInfo info = Gst.Audio.AudioInfo.Zero; + Gst.Audio.AudioInfo info = new Gst.Audio.AudioInfo(); // Initialize Gstreamer Gst.Application.Init(ref args); diff --git a/samples/PlaybackTutorial3.cs b/samples/PlaybackTutorial3.cs index bd0027a284..47ecef5893 100644 --- a/samples/PlaybackTutorial3.cs +++ b/samples/PlaybackTutorial3.cs @@ -93,7 +93,7 @@ namespace GstreamerSharp // This function is called when playbin has created the appsrc element, so we have a chance to configure it. static void SourceSetup (object sender, GLib.SignalArgs args) { - var info = Gst.Audio.AudioInfo.Zero; + var info = new Gst.Audio.AudioInfo(); var source = new Gst.App.AppSrc(((Element)args.Args [0]).Handle); Console.WriteLine ("Source has been created. Configuring."); AppSource = source; diff --git a/sources/gstreamer-sharp.metadata b/sources/gstreamer-sharp.metadata index b3e03ab1d0..8755db6a8d 100644 --- a/sources/gstreamer-sharp.metadata +++ b/sources/gstreamer-sharp.metadata @@ -38,6 +38,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA true GstMiniObject + true + true true true true