From 4173fe2616deccbbda175a048fd35e5890ed3fac Mon Sep 17 00:00:00 2001 From: John Luke Date: Tue, 4 Nov 2003 23:45:04 +0000 Subject: [PATCH] update for 0.6.4 svn path=/trunk/gtk-sharp/; revision=19633 --- sample/GstPlayer.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sample/GstPlayer.cs b/sample/GstPlayer.cs index cb5c82fd4..8af78c7e6 100644 --- a/sample/GstPlayer.cs +++ b/sample/GstPlayer.cs @@ -18,10 +18,10 @@ public class GstTest /* create a disk reader */ Element filesrc = ElementFactory.Make ("filesrc", "disk_source"); - filesrc.SetProperty ("location", new GLib.Value (args[0])); + filesrc.SetProperty ("location", args[0]); /* now it's time to get the decoder */ - Element decoder = ElementFactory.Make ("vorbisdec", "decode"); + Element decoder = ElementFactory.Make ("vorbisfile", "decode"); /* and an audio sink */ Element osssink = ElementFactory.Make ("osssink", "play_audio"); @@ -32,8 +32,8 @@ public class GstTest bin.Add (osssink); /* connect the elements */ - filesrc.Connect (decoder); - decoder.Connect (osssink); + filesrc.Link (decoder); + decoder.Link (osssink); /* start playing */ bin.SetState (ElementState.Playing);