From 356a35eda6450a885add91db702ad3a56f046716 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 21 Sep 2017 16:58:38 -0300 Subject: samples: Minor fix in the way we free resources --- samples/BasicTutorial8.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'samples') diff --git a/samples/BasicTutorial8.cs b/samples/BasicTutorial8.cs index 02acfbd..e3ddf9d 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 +} -- cgit v1.2.3