Implementation of the limbo area in Mixing view, to change update mode

of source (active or not) and suspend mediaplayer (enabled or not).
This commit is contained in:
brunoherbelin
2020-06-21 00:52:59 +02:00
parent 10d0a8c04b
commit 8684d6f2c2
15 changed files with 1055 additions and 495 deletions

View File

@@ -795,7 +795,7 @@ void UserInterface::RenderMediaPlayer()
}
ImGui::SetCursorScreenPos(draw_pos);
if (mp->duration() != GST_CLOCK_TIME_NONE) {
if ( mp->isEnabled() && mp->duration() != GST_CLOCK_TIME_NONE) {
if (ImGui::Button(ICON_FA_FAST_BACKWARD))
mp->rewind();