mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: add patch to let set the buusy delay control and set to 750ms
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
edf1a7ee0c
commit
68dd4575ad
@ -12,6 +12,7 @@
|
||||
<delay>175</delay>
|
||||
</refresh>
|
||||
</latency>
|
||||
<busydialogdelayms>750</busydialogdelayms>
|
||||
</video>
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
57
packages/mediacenter/xbmc/patches/12.1.8/xbmc-602-add_as.xml_busy_dialog_delay_control.patch
vendored
Normal file
57
packages/mediacenter/xbmc/patches/12.1.8/xbmc-602-add_as.xml_busy_dialog_delay_control.patch
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
diff -Naur xbmc-12.1.8/xbmc/cores/dvdplayer/DVDPlayer.cpp xbmc-12.1.8.patch/xbmc/cores/dvdplayer/DVDPlayer.cpp
|
||||
--- xbmc-12.1.8/xbmc/cores/dvdplayer/DVDPlayer.cpp 2013-04-24 23:38:36.000000000 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/cores/dvdplayer/DVDPlayer.cpp 2013-04-26 00:49:07.732011721 +0200
|
||||
@@ -470,7 +470,7 @@
|
||||
#endif
|
||||
|
||||
Create();
|
||||
- if(!m_ready.WaitMSec(100))
|
||||
+ if(!m_ready.WaitMSec(g_advancedSettings.m_videoBusyDialogDelay_ms))
|
||||
{
|
||||
CGUIDialogBusy* dialog = (CGUIDialogBusy*)g_windowManager.GetWindow(WINDOW_DIALOG_BUSY);
|
||||
if(dialog)
|
||||
diff -Naur xbmc-12.1.8/xbmc/cores/omxplayer/OMXPlayer.cpp xbmc-12.1.8.patch/xbmc/cores/omxplayer/OMXPlayer.cpp
|
||||
--- xbmc-12.1.8/xbmc/cores/omxplayer/OMXPlayer.cpp 2013-04-24 23:38:36.000000000 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/cores/omxplayer/OMXPlayer.cpp 2013-04-26 00:50:56.974691417 +0200
|
||||
@@ -474,7 +474,7 @@
|
||||
g_renderManager.PreInit();
|
||||
|
||||
Create();
|
||||
- if(!m_ready.WaitMSec(100))
|
||||
+ if(!m_ready.WaitMSec(g_advancedSettings.m_videoBusyDialogDelay_ms))
|
||||
{
|
||||
CGUIDialogBusy* dialog = (CGUIDialogBusy*)g_windowManager.GetWindow(WINDOW_DIALOG_BUSY);
|
||||
if(dialog)
|
||||
diff -Naur xbmc-12.1.8/xbmc/settings/AdvancedSettings.cpp xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.cpp
|
||||
--- xbmc-12.1.8/xbmc/settings/AdvancedSettings.cpp 2013-04-26 00:48:59.375036542 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.cpp 2013-04-26 00:49:07.732011721 +0200
|
||||
@@ -111,6 +111,7 @@
|
||||
m_DXVAForceProcessorRenderer = true;
|
||||
m_DXVANoDeintProcForProgressive = false;
|
||||
m_videoFpsDetect = 1;
|
||||
+ m_videoBusyDialogDelay_ms = 100;
|
||||
m_videoDefaultLatency = 0.0;
|
||||
m_videoDisableHi10pMultithreading = false;
|
||||
|
||||
@@ -592,6 +593,10 @@
|
||||
//0 = disable fps detect, 1 = only detect on timestamps with uniform spacing, 2 detect on all timestamps
|
||||
XMLUtils::GetInt(pElement, "fpsdetect", m_videoFpsDetect, 0, 2);
|
||||
|
||||
+ // controls the delay, in milliseconds, until
|
||||
+ // the busy dialog is shown when starting video playback.
|
||||
+ XMLUtils::GetInt(pElement, "busydialogdelayms", m_videoBusyDialogDelay_ms, 0, 1000);
|
||||
+
|
||||
// Store global display latency settings
|
||||
TiXmlElement* pVideoLatency = pElement->FirstChildElement("latency");
|
||||
if (pVideoLatency)
|
||||
diff -Naur xbmc-12.1.8/xbmc/settings/AdvancedSettings.h xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.h
|
||||
--- xbmc-12.1.8/xbmc/settings/AdvancedSettings.h 2013-04-26 00:48:59.383036518 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.h 2013-04-26 00:49:07.732011721 +0200
|
||||
@@ -165,6 +165,7 @@
|
||||
bool m_DXVANoDeintProcForProgressive;
|
||||
int m_videoFpsDetect;
|
||||
bool m_videoDisableHi10pMultithreading;
|
||||
+ int m_videoBusyDialogDelay_ms;
|
||||
|
||||
CStdString m_videoDefaultPlayer;
|
||||
CStdString m_videoDefaultDVDPlayer;
|
@ -0,0 +1,57 @@
|
||||
diff -Naur xbmc-12.1.8/xbmc/cores/dvdplayer/DVDPlayer.cpp xbmc-12.1.8.patch/xbmc/cores/dvdplayer/DVDPlayer.cpp
|
||||
--- xbmc-12.1.8/xbmc/cores/dvdplayer/DVDPlayer.cpp 2013-04-24 23:38:36.000000000 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/cores/dvdplayer/DVDPlayer.cpp 2013-04-26 00:49:07.732011721 +0200
|
||||
@@ -470,7 +470,7 @@
|
||||
#endif
|
||||
|
||||
Create();
|
||||
- if(!m_ready.WaitMSec(100))
|
||||
+ if(!m_ready.WaitMSec(g_advancedSettings.m_videoBusyDialogDelay_ms))
|
||||
{
|
||||
CGUIDialogBusy* dialog = (CGUIDialogBusy*)g_windowManager.GetWindow(WINDOW_DIALOG_BUSY);
|
||||
if(dialog)
|
||||
diff -Naur xbmc-12.1.8/xbmc/cores/omxplayer/OMXPlayer.cpp xbmc-12.1.8.patch/xbmc/cores/omxplayer/OMXPlayer.cpp
|
||||
--- xbmc-12.1.8/xbmc/cores/omxplayer/OMXPlayer.cpp 2013-04-24 23:38:36.000000000 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/cores/omxplayer/OMXPlayer.cpp 2013-04-26 00:50:56.974691417 +0200
|
||||
@@ -474,7 +474,7 @@
|
||||
g_renderManager.PreInit();
|
||||
|
||||
Create();
|
||||
- if(!m_ready.WaitMSec(100))
|
||||
+ if(!m_ready.WaitMSec(g_advancedSettings.m_videoBusyDialogDelay_ms))
|
||||
{
|
||||
CGUIDialogBusy* dialog = (CGUIDialogBusy*)g_windowManager.GetWindow(WINDOW_DIALOG_BUSY);
|
||||
if(dialog)
|
||||
diff -Naur xbmc-12.1.8/xbmc/settings/AdvancedSettings.cpp xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.cpp
|
||||
--- xbmc-12.1.8/xbmc/settings/AdvancedSettings.cpp 2013-04-26 00:48:59.375036542 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.cpp 2013-04-26 00:49:07.732011721 +0200
|
||||
@@ -111,6 +111,7 @@
|
||||
m_DXVAForceProcessorRenderer = true;
|
||||
m_DXVANoDeintProcForProgressive = false;
|
||||
m_videoFpsDetect = 1;
|
||||
+ m_videoBusyDialogDelay_ms = 100;
|
||||
m_videoDefaultLatency = 0.0;
|
||||
m_videoDisableHi10pMultithreading = false;
|
||||
|
||||
@@ -592,6 +593,10 @@
|
||||
//0 = disable fps detect, 1 = only detect on timestamps with uniform spacing, 2 detect on all timestamps
|
||||
XMLUtils::GetInt(pElement, "fpsdetect", m_videoFpsDetect, 0, 2);
|
||||
|
||||
+ // controls the delay, in milliseconds, until
|
||||
+ // the busy dialog is shown when starting video playback.
|
||||
+ XMLUtils::GetInt(pElement, "busydialogdelayms", m_videoBusyDialogDelay_ms, 0, 1000);
|
||||
+
|
||||
// Store global display latency settings
|
||||
TiXmlElement* pVideoLatency = pElement->FirstChildElement("latency");
|
||||
if (pVideoLatency)
|
||||
diff -Naur xbmc-12.1.8/xbmc/settings/AdvancedSettings.h xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.h
|
||||
--- xbmc-12.1.8/xbmc/settings/AdvancedSettings.h 2013-04-26 00:48:59.383036518 +0200
|
||||
+++ xbmc-12.1.8.patch/xbmc/settings/AdvancedSettings.h 2013-04-26 00:49:07.732011721 +0200
|
||||
@@ -165,6 +165,7 @@
|
||||
bool m_DXVANoDeintProcForProgressive;
|
||||
int m_videoFpsDetect;
|
||||
bool m_videoDisableHi10pMultithreading;
|
||||
+ int m_videoBusyDialogDelay_ms;
|
||||
|
||||
CStdString m_videoDefaultPlayer;
|
||||
CStdString m_videoDefaultDVDPlayer;
|
@ -12,6 +12,7 @@
|
||||
<delay>175</delay>
|
||||
</refresh>
|
||||
</latency>
|
||||
<busydialogdelayms>750</busydialogdelayms>
|
||||
</video>
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<delay>175</delay>
|
||||
</refresh>
|
||||
</latency>
|
||||
<busydialogdelayms>750</busydialogdelayms>
|
||||
</video>
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<delay>175</delay>
|
||||
</refresh>
|
||||
</latency>
|
||||
<busydialogdelayms>750</busydialogdelayms>
|
||||
</video>
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
|
@ -11,6 +11,7 @@
|
||||
<video>
|
||||
<defaultplayer>omxplayer</defaultplayer>
|
||||
<defaultdvdplayer>omxplayer</defaultdvdplayer>
|
||||
<busydialogdelayms>750</busydialogdelayms>
|
||||
</video>
|
||||
|
||||
<audio>
|
||||
|
Loading…
x
Reference in New Issue
Block a user