samples: Minor fix in the way we free resources

This commit is contained in:
Thibault Saunier 2017-09-21 16:58:38 -03:00
parent 7fde0e8fc4
commit 356a35eda6

View file

@ -220,7 +220,9 @@ namespace GstreamerSharp
Tee.ReleaseRequestPad(teeAppPad);
// Free resources
pipeline.SetState (State.Playing);
pipeline.SetState (State.Null);
Gst.Global.Deinit();
}
}
}