mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 03:39:57 +01:00
BugFix Gst Pipeline closing and unreferencing
Need to empty pipeline bus if IGNORE_GST_BUS_MESSAGE is not set. Ensuring all gst_objects are unreferenced properly to be erased.
This commit is contained in:
@@ -6364,6 +6364,16 @@ void ShowSandbox(bool* p_open)
|
||||
ImGui::Text("Testing sandox");
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::Text("Reset GST");
|
||||
|
||||
if (ImGui::Button("RESET GSTREAMER")){
|
||||
|
||||
gst_deinit();
|
||||
// gst_init (NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
ImGui::Text("Source list");
|
||||
Session *se = Mixer::manager().session();
|
||||
for (auto sit = se->begin(); sit != se->end(); ++sit) {
|
||||
|
||||
Reference in New Issue
Block a user