mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 11:49:59 +01:00
Enabling GST_BUS_MESSAGE for mediaplayer and stream
This commit is contained in:
@@ -116,7 +116,7 @@ endif()
|
|||||||
|
|
||||||
# add_definitions(-DUSE_GST_OPENGL_SYNC_HANDLER)
|
# add_definitions(-DUSE_GST_OPENGL_SYNC_HANDLER)
|
||||||
# add_definitions(-DUSE_GL_BUFFER_SUBDATA)
|
# add_definitions(-DUSE_GL_BUFFER_SUBDATA)
|
||||||
add_definitions(-DIGNORE_GST_BUS_MESSAGE)
|
# add_definitions(-DIGNORE_GST_BUS_MESSAGE)
|
||||||
|
|
||||||
#####
|
#####
|
||||||
##### Dependencies
|
##### Dependencies
|
||||||
|
|||||||
@@ -4705,9 +4705,12 @@ void Navigator::RenderMainPannelSession()
|
|||||||
ImGui::EndCombo();
|
ImGui::EndCombo();
|
||||||
}
|
}
|
||||||
ImVec2 pos = ImGui::GetCursorPos();
|
ImVec2 pos = ImGui::GetCursorPos();
|
||||||
// ImGui::SameLine();
|
if (!Mixer::manager().session()->filename().empty()) {
|
||||||
// if ( ImGuiToolkit::IconButton(ICON_FA_FILE_DOWNLOAD, "Save"))
|
ImGui::SameLine();
|
||||||
// UserInterface::manager().saveOrSaveAs();
|
if ( ImGuiToolkit::IconButton(ICON_FA_TIMES, "Close"))
|
||||||
|
Mixer::manager().close();
|
||||||
|
ImGui::SetCursorPos(pos);
|
||||||
|
}
|
||||||
//// if ( Mixer::manager().session()->filename().empty()) {
|
//// if ( Mixer::manager().session()->filename().empty()) {
|
||||||
//// if ( ImGuiToolkit::IconButton(ICON_FA_FILE_DOWNLOAD, "Save as"))
|
//// if ( ImGuiToolkit::IconButton(ICON_FA_FILE_DOWNLOAD, "Save as"))
|
||||||
//// UserInterface::manager().saveOrSaveAs();
|
//// UserInterface::manager().saveOrSaveAs();
|
||||||
@@ -4715,7 +4718,6 @@ void Navigator::RenderMainPannelSession()
|
|||||||
//// if (ImGuiToolkit::IconButton(3, 5, "Show in finder"))
|
//// if (ImGuiToolkit::IconButton(3, 5, "Show in finder"))
|
||||||
//// SystemToolkit::open(SystemToolkit::path_filename(Mixer::manager().session()->filename()));
|
//// SystemToolkit::open(SystemToolkit::path_filename(Mixer::manager().session()->filename()));
|
||||||
//// }
|
//// }
|
||||||
// ImGui::SetCursorPos(pos);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Preview session
|
// Preview session
|
||||||
@@ -6367,10 +6369,11 @@ void ShowSandbox(bool* p_open)
|
|||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
ImGui::Text("Reset GST");
|
ImGui::Text("Reset GST");
|
||||||
|
|
||||||
if (ImGui::Button("RESET GSTREAMER")){
|
if (ImGui::Button("RESET")){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
gst_deinit();
|
|
||||||
// gst_init (NULL, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user