This commit is contained in:
Bruno
2021-08-16 22:55:21 +02:00
parent a6bc30cf62
commit 5ec954dbb5
2 changed files with 6 additions and 2 deletions

View File

@@ -413,7 +413,7 @@ void VideoStreamer::terminate()
}
Log::Notify("Streaming to %s finished after %s s.", config_.client_name.c_str(),
GstToolkit::time_to_string(timestamp_).c_str());
GstToolkit::time_to_string(duration_).c_str());
}
void VideoStreamer::stop ()

View File

@@ -345,10 +345,14 @@ void UserInterface::handleKeyboard()
else if (navigator.pannelVisible())
navigator.hidePannel();
// 3. hide windows
else if (Settings::application.widget.preview || Settings::application.widget.media_player || Settings::application.widget.history) {
else if (Settings::application.widget.preview ||
Settings::application.widget.media_player ||
Settings::application.widget.history ||
Settings::application.widget.logs) {
Settings::application.widget.preview = false;
Settings::application.widget.media_player = false;
Settings::application.widget.history = false;
Settings::application.widget.logs = false;
}
// 4. cancel selection
else if (!Mixer::selection().empty()) {