BugFix missing test of audio settings

This commit is contained in:
Bruno Herbelin
2024-09-01 23:48:42 +02:00
parent b72054c2f7
commit 7660b07fa8

View File

@@ -2078,7 +2078,7 @@ void SourceControlWindow::RenderMediaPlayer(MediaSource *ms)
ImGui::PopStyleColor(1);
ImGui::SetCursorScreenPos(imgarea.GetTL() + ImVec2(h_space_, v_space_));
if ( ms->audioFlags() & Source::Audio_enabled )
if ( Settings::application.accept_audio && ms->audioFlags() & Source::Audio_enabled )
// Icon to inform audio decoding
ImGui::Text("%s " ICON_FA_VOLUME_UP, ms->initials());
else