summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/BasicTutorial8.cs6
1 files changed, 4 insertions, 2 deletions
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
+}