From 8f9bf7b1dcf65f9e08b78e3b5b79092e6b99910c Mon Sep 17 00:00:00 2001 From: popcornmix <popcornmix@gmail.com> Date: Fri, 12 Jan 2018 14:56:05 +0000 Subject: Application: Set volume after opening file Initial volume was broken in omxplayer after #13301 --- xbmc/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index c69be442e5..e2c0465fb0 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -3203,9 +3203,9 @@ bool CApplication::PlayFile(CFileItem item, const std::string& player, bool bRes CLog::LogF(LOGDEBUG,"Ignored %d playback thread messages", dMsgCount); } + m_appPlayer.OpenFile(item, options, player, *this); m_appPlayer.SetVolume(m_volumeLevel); m_appPlayer.SetMute(m_muted); - m_appPlayer.OpenFile(item, options, player, *this); #if !defined(TARGET_POSIX) g_audioManager.Enable(false); -- cgit v1.2.3