mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
samples: Minor fix in the way we free resources
This commit is contained in:
parent
7fde0e8fc4
commit
356a35eda6
1 changed files with 4 additions and 2 deletions
|
@ -220,7 +220,9 @@ namespace GstreamerSharp
|
|||
Tee.ReleaseRequestPad(teeAppPad);
|
||||
|
||||
// Free resources
|
||||
pipeline.SetState (State.Playing);
|
||||
pipeline.SetState (State.Null);
|
||||
|
||||
Gst.Global.Deinit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue