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:
Bruno Herbelin
2024-10-03 14:56:58 +02:00
parent d0b8cf0275
commit 32c83a6eee
8 changed files with 141 additions and 65 deletions

View File

@@ -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) {