diff --git a/samples/BasicTutorial8.cs b/samples/BasicTutorial8.cs index 02acfbddb7..e3ddf9d88b 100644 --- a/samples/BasicTutorial8.cs +++ b/samples/BasicTutorial8.cs @@ -220,7 +220,9 @@ namespace GstreamerSharp Tee.ReleaseRequestPad(teeAppPad); // Free resources - pipeline.SetState (State.Playing); + pipeline.SetState (State.Null); + + Gst.Global.Deinit(); } } -} \ No newline at end of file +}