samples: Minor fix in the way we free resources
This commit is contained in:
parent
7fde0e8fc4
commit
356a35eda6
@ -220,7 +220,9 @@ namespace GstreamerSharp
|
||||
Tee.ReleaseRequestPad(teeAppPad);
|
||||
|
||||
// Free resources
|
||||
pipeline.SetState (State.Playing);
|
||||
pipeline.SetState (State.Null);
|
||||
|
||||
Gst.Global.Deinit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user