diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-09-21 16:58:38 -0300 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-09-22 15:42:41 -0300 |
commit | 356a35eda6450a885add91db702ad3a56f046716 (patch) | |
tree | 3b7521179ad8372fdda21790477d4f987a508bb9 /samples | |
parent | 7fde0e8fc4449c24b420c8b1c55e5d29c9445e15 (diff) |
samples: Minor fix in the way we free resources
Diffstat (limited to 'samples')
-rw-r--r-- | samples/BasicTutorial8.cs | 6 |
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 +} |