diff options
author | ksooo <3226626+ksooo@users.noreply.github.com> | 2023-11-30 07:11:22 +0100 |
---|---|---|
committer | ksooo <3226626+ksooo@users.noreply.github.com> | 2023-12-07 19:07:48 +0100 |
commit | 5fdcecac8f5a2c30ce156714738345875ffe21be (patch) | |
tree | 478476631d74ba40229ca61800d108dc458cabda | |
parent | 565fe8a525d26be43ea082221f7a4472dbcf862a (diff) |
[video] If a video has multiple versions and 'Play default video version' setting is off, display video version selector for all play/select actions, not only for 'Play'/'Play from beginning'.
-rw-r--r-- | xbmc/video/guilib/VideoPlayActionProcessor.cpp | 3 | ||||
-rw-r--r-- | xbmc/video/guilib/VideoSelectActionProcessor.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/xbmc/video/guilib/VideoPlayActionProcessor.cpp b/xbmc/video/guilib/VideoPlayActionProcessor.cpp index 123bdb1985..7d508dca82 100644 --- a/xbmc/video/guilib/VideoPlayActionProcessor.cpp +++ b/xbmc/video/guilib/VideoPlayActionProcessor.cpp @@ -37,8 +37,7 @@ bool CVideoPlayActionProcessorBase::Process(PlayAction playAction) CVideoActionProcessorHelper procHelper{m_item, m_videoVersion}; - if (!m_versionChecked && - (playAction == PLAY_ACTION_PLAY_FROM_BEGINNING || playAction == PLAY_ACTION_PLAY_OR_RESUME)) + if (!m_versionChecked) { m_versionChecked = true; const auto videoVersion{procHelper.ChooseVideoVersion()}; diff --git a/xbmc/video/guilib/VideoSelectActionProcessor.cpp b/xbmc/video/guilib/VideoSelectActionProcessor.cpp index 6ff489c580..15fd6e5e4d 100644 --- a/xbmc/video/guilib/VideoSelectActionProcessor.cpp +++ b/xbmc/video/guilib/VideoSelectActionProcessor.cpp @@ -41,8 +41,7 @@ bool CVideoSelectActionProcessorBase::Process(SelectAction selectAction) { CVideoActionProcessorHelper procHelper{m_item, m_videoVersion}; - if (!m_versionChecked && - (selectAction == SELECT_ACTION_PLAY || selectAction == SELECT_ACTION_PLAY_OR_RESUME)) + if (!m_versionChecked) { m_versionChecked = true; const auto videoVersion{procHelper.ChooseVideoVersion()}; |