-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3623 from MilhouseVH/le10_revert_streamdetails_up…
…date kodi: temp fix stream details are being lost once playback ends
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
packages/mediacenter/kodi/patches/kodi-995.01-revert-always-update-stream-detail.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
commit 545ca6a2e8b3af40fba3e9786c7b7b677eb712d3 | ||
Author: afl1 <[email protected]> | ||
Date: Tue May 14 23:37:59 2019 +0200 | ||
|
||
Revert "fixed: We should always update stream details from player (fixes #15584)" | ||
|
||
This reverts commit be1ed70fb4b926cbdaf60367172ac7902690f00f. | ||
|
||
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp | ||
index 1c4f5dfcd0..4b1550d1b9 100644 | ||
--- a/xbmc/Application.cpp | ||
+++ b/xbmc/Application.cpp | ||
@@ -3049,8 +3049,9 @@ void CApplication::OnPlayBackStarted(const CFileItem &file) | ||
{ | ||
CLog::LogF(LOGDEBUG,"CApplication::OnPlayBackStarted"); | ||
|
||
- // Always update file item stream details | ||
- m_appPlayer.SetUpdateStreamDetails(); | ||
+ // check if VideoPlayer should set file item stream details from its current streams | ||
+ if (file.GetProperty("get_stream_details_from_player").asBoolean()) | ||
+ m_appPlayer.SetUpdateStreamDetails(); | ||
|
||
if (m_stackHelper.IsPlayingISOStack() || m_stackHelper.IsPlayingRegularStack()) | ||
m_itemCurrentFile.reset(new CFileItem(*m_stackHelper.GetRegisteredStack(file))); |