projects/RPi/patches/kodi: update RPi support patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-12-17 22:40:19 +01:00
parent 17297460d0
commit aaadb81128

View File

@ -1,7 +1,7 @@
From 5ee6b15d33f18bf55553eaa5c8172e19c8698532 Mon Sep 17 00:00:00 2001
From 37d620c9cfae39bce40629d79a6587eb7552c302 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 7 Apr 2014 18:19:32 +0100
Subject: [PATCH 01/57] [rbp/omxplayer] When opening a stream don't try to
Subject: [PATCH 01/58] [rbp/omxplayer] When opening a stream don't try to
update gui so often
---
@ -25,10 +25,10 @@ index e7cfcdd..20b99ad 100644
g_windowManager.ProcessRenderLoop(false);
if (allowCancel && dialog->IsCanceled())
From ed47072d3af200f0cceb6c794a0f1b324b914c78 Mon Sep 17 00:00:00 2001
From 4b82af9ec17939a4cb2030a8998b4dedfe8f80a2 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 29 Apr 2014 15:23:22 +0100
Subject: [PATCH 02/57] [ffmpeg] Speed up wtv index creation
Subject: [PATCH 02/58] [ffmpeg] Speed up wtv index creation
The index creation is O(N^2) with number of entries (typically thousands).
On a Pi this can take more than 60 seconds to execute for a recording of a few hours.
@ -114,10 +114,10 @@ index 0000000..4ac5636
+ }
+ }
From eadb7d6e3cb163c66729411d04ce1eafe8bf2b6f Mon Sep 17 00:00:00 2001
From 0223c5c5027652f37bc0dcb532c00555c8dfb913 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 2 Aug 2014 17:48:04 +0100
Subject: [PATCH 03/57] [omx] Report decoded image name
Subject: [PATCH 03/58] [omx] Report decoded image name
---
xbmc/cores/omxplayer/OMXImage.cpp | 1 +
@ -136,10 +136,10 @@ index aa413b9..22ec3f0 100644
else
{
From 26ca8d23a27691f2fc373b995151060330f25257 Mon Sep 17 00:00:00 2001
From e296bd29afa8d9261101143065153c6e770debb5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 8 Mar 2014 15:36:06 +0000
Subject: [PATCH 04/57] [hifiberry] Hack: force it to be recognised as IEC958
Subject: [PATCH 04/58] [hifiberry] Hack: force it to be recognised as IEC958
capable to enable passthrough options
---
@ -162,10 +162,10 @@ index d30cbab..b268819 100644
info.m_displayName.substr(info.m_displayName.size()-5) == " HDMI")
{
From 3fe07afc134b7e28c517b8ffa25e12a6d0bc6db3 Mon Sep 17 00:00:00 2001
From 5dd9be238175ce8e7dbf821705d735d057ad0d5e Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 11 Dec 2013 17:21:54 +0000
Subject: [PATCH 05/57] Move the reference-counting of Begin and End calls from
Subject: [PATCH 05/58] Move the reference-counting of Begin and End calls from
DX and GL source files into GUIFontTTF.cpp.
---
@ -553,10 +553,10 @@ index c0bb53a..735fb3a 100644
protected:
virtual CBaseTexture* ReallocTexture(unsigned int& newHeight);
From 3250be6689d225c6f19267d0294a93a10b4a26ca Mon Sep 17 00:00:00 2001
From 8fa880390ca45ae4df1731a97da3fc2b0558ff21 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 11 Dec 2013 18:47:54 +0000
Subject: [PATCH 06/57] Convert CGUIFontTTFBase::m_vertex to be managed as a
Subject: [PATCH 06/58] Convert CGUIFontTTFBase::m_vertex to be managed as a
std::vector.
Also retired CGUIFontTTFBase::m_vertex_count and
@ -736,10 +736,10 @@ index 97853fd..b76c6a5 100644
*vertices++ = m_vertex[i];
*vertices++ = m_vertex[i+1];
From ae8a089491f4e80cd268e32d4ff9cf2ab6671940 Mon Sep 17 00:00:00 2001
From f8694f55c811d655bd7e218f09d530529baea571 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Mon, 16 Dec 2013 18:58:12 +0000
Subject: [PATCH 07/57] CGUIFontTTFBase::RenderCharacter can now append to
Subject: [PATCH 07/58] CGUIFontTTFBase::RenderCharacter can now append to
arbitrary vectors of vertices rather than only CGUIFontTTFBase::m_vertex
---
@ -812,10 +812,10 @@ index 5675725..a5d44f4 100644
virtual CBaseTexture* ReallocTexture(unsigned int& newHeight) = 0;
From a79af20718c8ddab86ea0f01f56cf414b656af5a Mon Sep 17 00:00:00 2001
From eed8e8d70aec04fac78411bb021336cff69c4beb Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 15 Jan 2014 17:18:38 +0000
Subject: [PATCH 08/57] Add a cache of font glyph bounding box vertices.
Subject: [PATCH 08/58] Add a cache of font glyph bounding box vertices.
This is implemented as a template because ultimately we will key on different
parameters and store values of different types, depending upon whether we
@ -823,8 +823,8 @@ have a GLES or non-GLES backend, and for GLES, whether or not the currently
applicable transformation matrices permit the use of hardware clipping.
---
Kodi.xcodeproj/project.pbxproj | 10 ++
project/VS2010Express/XBMC.vcxproj | 2 +
project/VS2010Express/XBMC.vcxproj.filters | 6 +
project/VS2010Express/XBMC.vcxproj | 4 +-
project/VS2010Express/XBMC.vcxproj.filters | 8 +-
xbmc/guilib/GUIFontCache.cpp | 105 ++++++++++++++
xbmc/guilib/GUIFontCache.h | 217 +++++++++++++++++++++++++++++
xbmc/guilib/GUIFontTTF.cpp | 181 +++++++++++++-----------
@ -833,12 +833,12 @@ applicable transformation matrices permit the use of hardware clipping.
xbmc/guilib/GraphicContext.h | 1 +
xbmc/guilib/Makefile.in | 1 +
xbmc/guilib/TransformMatrix.h | 11 ++
11 files changed, 456 insertions(+), 84 deletions(-)
11 files changed, 458 insertions(+), 86 deletions(-)
create mode 100644 xbmc/guilib/GUIFontCache.cpp
create mode 100644 xbmc/guilib/GUIFontCache.h
diff --git a/Kodi.xcodeproj/project.pbxproj b/Kodi.xcodeproj/project.pbxproj
index 5a81f22..debdf4e 100644
index 6dd3cf2..1f04a0b 100644
--- a/Kodi.xcodeproj/project.pbxproj
+++ b/Kodi.xcodeproj/project.pbxproj
@@ -168,6 +168,9 @@
@ -851,7 +851,7 @@ index 5a81f22..debdf4e 100644
32C631281423A90F00F18420 /* JpegIO.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 32C631261423A90F00F18420 /* JpegIO.cpp */; };
36A9443D15821E2800727135 /* DatabaseUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36A9443B15821E2800727135 /* DatabaseUtils.cpp */; };
36A9444115821E7C00727135 /* SortUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36A9443F15821E7C00727135 /* SortUtils.cpp */; };
@@ -4021,6 +4024,8 @@
@@ -4018,6 +4021,8 @@
1DAFDB7B16DFDCA7007F8C68 /* PeripheralBusCEC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PeripheralBusCEC.h; sourceTree = "<group>"; };
1DE0443315828F4B005DDB4D /* Exception.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Exception.cpp; path = commons/Exception.cpp; sourceTree = "<group>"; };
1DE0443415828F4B005DDB4D /* Exception.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Exception.h; path = commons/Exception.h; sourceTree = "<group>"; };
@ -860,7 +860,7 @@ index 5a81f22..debdf4e 100644
32C631261423A90F00F18420 /* JpegIO.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JpegIO.cpp; sourceTree = "<group>"; };
32C631271423A90F00F18420 /* JpegIO.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JpegIO.h; sourceTree = "<group>"; };
36A9443B15821E2800727135 /* DatabaseUtils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DatabaseUtils.cpp; sourceTree = "<group>"; };
@@ -6537,6 +6542,8 @@
@@ -6532,6 +6537,8 @@
18B7C7101294222D009E7A26 /* GUIFixedListContainer.h */,
18B7C76B1294222E009E7A26 /* GUIFont.cpp */,
18B7C7111294222D009E7A26 /* GUIFont.h */,
@ -869,7 +869,7 @@ index 5a81f22..debdf4e 100644
18B7C76C1294222E009E7A26 /* GUIFontManager.cpp */,
18B7C7121294222D009E7A26 /* GUIFontManager.h */,
18B7C76D1294222E009E7A26 /* GUIFontTTF.cpp */,
@@ -11045,6 +11052,7 @@
@@ -11038,6 +11045,7 @@
7C5608C70F1754930056433A /* ExternalPlayer.cpp in Sources */,
F584E12E0F257C5100DB26A5 /* HTTPDirectory.cpp in Sources */,
F54C51D20F1E783200D46E3C /* GUIDialogKaraokeSongSelector.cpp in Sources */,
@ -877,7 +877,7 @@ index 5a81f22..debdf4e 100644
F54C51D50F1E784800D46E3C /* karaokelyricscdg.cpp in Sources */,
F54C51D80F1E785700D46E3C /* karaokelyrics.cpp in Sources */,
F54C51E50F1E787700D46E3C /* karaokelyricstextkar.cpp in Sources */,
@@ -12721,6 +12729,7 @@
@@ -12712,6 +12720,7 @@
DFF0F45B17528350002DA3A4 /* Control.cpp in Sources */,
DFF0F45C17528350002DA3A4 /* Dialog.cpp in Sources */,
DFF0F45D17528350002DA3A4 /* File.cpp in Sources */,
@ -885,7 +885,7 @@ index 5a81f22..debdf4e 100644
DFF0F45E17528350002DA3A4 /* InfoTagMusic.cpp in Sources */,
DFF0F45F17528350002DA3A4 /* InfoTagVideo.cpp in Sources */,
DFF0F46017528350002DA3A4 /* Keyboard.cpp in Sources */,
@@ -13517,6 +13526,7 @@
@@ -13507,6 +13516,7 @@
E499131D174E5DAD00741B6D /* GUIVisualisationControl.cpp in Sources */,
E499131E174E5DAD00741B6D /* GUIWindow.cpp in Sources */,
E499131F174E5DAD00741B6D /* GUIWindowManager.cpp in Sources */,
@ -894,10 +894,10 @@ index 5a81f22..debdf4e 100644
E4991321174E5DAD00741B6D /* imagefactory.cpp in Sources */,
E4991322174E5DAD00741B6D /* IWindowManagerCallback.cpp in Sources */,
diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj
index ce1b60a..d1a3703 100644
index aca7b82..2d735052 100644
--- a/project/VS2010Express/XBMC.vcxproj
+++ b/project/VS2010Express/XBMC.vcxproj
@@ -427,6 +427,7 @@
@@ -426,6 +426,7 @@
<ClCompile Include="..\..\xbmc\guilib\GUIFadeLabelControl.cpp" />
<ClCompile Include="..\..\xbmc\guilib\GUIFixedListContainer.cpp" />
<ClCompile Include="..\..\xbmc\guilib\GUIFont.cpp" />
@ -905,7 +905,7 @@ index ce1b60a..d1a3703 100644
<ClCompile Include="..\..\xbmc\guilib\GUIFontManager.cpp" />
<ClCompile Include="..\..\xbmc\guilib\GUIFontTTF.cpp" />
<ClCompile Include="..\..\xbmc\guilib\GUIFontTTFDX.cpp" />
@@ -1753,6 +1754,7 @@
@@ -1751,6 +1752,7 @@
<ClInclude Include="..\..\xbmc\guilib\GUIFadeLabelControl.h" />
<ClInclude Include="..\..\xbmc\guilib\GUIFixedListContainer.h" />
<ClInclude Include="..\..\xbmc\guilib\GUIFont.h" />
@ -913,8 +913,15 @@ index ce1b60a..d1a3703 100644
<ClInclude Include="..\..\xbmc\guilib\GUIFontManager.h" />
<ClInclude Include="..\..\xbmc\guilib\GUIFontTTF.h" />
<ClInclude Include="..\..\xbmc\guilib\GUIFontTTFDX.h" />
@@ -2552,4 +2554,4 @@
</VisualStudio>
</ProjectExtensions>
<Import Project="$(SolutionDir)\$(ProjectFileName).targets.user" Condition="Exists('$(SolutionDir)\$(ProjectFileName).targets.user')" />
-</Project>
\ No newline at end of file
+</Project>
diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters
index b570d6b..499060565 100644
index 7603447..506b565 100644
--- a/project/VS2010Express/XBMC.vcxproj.filters
+++ b/project/VS2010Express/XBMC.vcxproj.filters
@@ -994,6 +994,9 @@
@ -927,7 +934,7 @@ index b570d6b..499060565 100644
<ClCompile Include="..\..\xbmc\guilib\GUIFontManager.cpp">
<Filter>guilib</Filter>
</ClCompile>
@@ -3897,6 +3900,9 @@
@@ -3894,6 +3897,9 @@
<ClInclude Include="..\..\xbmc\guilib\GUIFont.h">
<Filter>guilib</Filter>
</ClInclude>
@ -937,6 +944,13 @@ index b570d6b..499060565 100644
<ClInclude Include="..\..\xbmc\guilib\GUIFontManager.h">
<Filter>guilib</Filter>
</ClInclude>
@@ -6073,4 +6079,4 @@
<Filter>interfaces\swig</Filter>
</None>
</ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/xbmc/guilib/GUIFontCache.cpp b/xbmc/guilib/GUIFontCache.cpp
new file mode 100644
index 0000000..2c72f9c
@ -1575,10 +1589,10 @@ index f351c99..9036ba9 100644
+ return !operator==(a, b);
+}
From bad2c134fa8631cb612b55eabb708fd62b85b894 Mon Sep 17 00:00:00 2001
From 47615a326929e0d56fcc6398b52c3f487834b792 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Thu, 23 Jan 2014 22:24:17 +0000
Subject: [PATCH 09/57] Lay the groundwork for hardware clipping.
Subject: [PATCH 09/58] Lay the groundwork for hardware clipping.
For glScissor() to replace CGraphicContext::ClipRect, a necessary condition
is that no shear or rotation is introduced between the coordinate systems
@ -1840,10 +1854,10 @@ index 98e398a..81ee49e 100644
virtual void ResetScissors();
From de242916d7bbd24532ca6319ec7e0343e27d3254 Mon Sep 17 00:00:00 2001
From 78d7f5e53289e051081db741f788d0b0c918d5cc Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Thu, 23 Jan 2014 16:42:22 +0000
Subject: [PATCH 10/57] Increase font cache hit rate by keying on the
Subject: [PATCH 10/58] Increase font cache hit rate by keying on the
fractional part of m_originX and m_originY *after* they have been through the
graphics context's transformation matrix, plus the scale/rotation elements of
the matrix, rather than the origin in the original frame of reference plus
@ -2044,10 +2058,10 @@ index 3b93672..258dffa 100644
private:
virtual bool FirstBegin() = 0;
From 149e41979652bed87771d56750fc94b42224899d Mon Sep 17 00:00:00 2001
From f2007e18a004f952812d068838c89c2f091815d7 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 8 Jan 2014 12:16:33 +0000
Subject: [PATCH 11/57] Rewrite of scrolling text code.
Subject: [PATCH 11/58] Rewrite of scrolling text code.
No longer shuffles the string round to minimise the number of characters
before the clipping rectangle; this doesn't save much on rendering time but
@ -2363,10 +2377,10 @@ index 2cda726..fbc579e 100644
private:
void Process();
From e8c2c6a32e7cef19e9f4656ddd05da678f541be9 Mon Sep 17 00:00:00 2001
From 685b25dfcc0558d6cf97de5aca89214895fbf4e4 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Mon, 27 Jan 2014 23:21:10 +0000
Subject: [PATCH 12/57] Move the application of the translation offsets into
Subject: [PATCH 12/58] Move the application of the translation offsets into
the GLES code.
Still all pure software at this stage. Main change is in the data types at
@ -2560,10 +2574,10 @@ index 9935ea4..18c9358 100644
memset(newTexture->GetPixels(), 0, m_textureHeight * newTexture->GetPitch());
if (m_texture)
From 1d59b24d980fa36c28fc929942b2331765feb124 Mon Sep 17 00:00:00 2001
From a456d2ac75871ae1fd007fa5f9ff7596df84cd1e Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 15 Jan 2014 15:28:06 +0000
Subject: [PATCH 13/57] Rather than applying the translation offsets to the
Subject: [PATCH 13/58] Rather than applying the translation offsets to the
vertices, now applies them to the model view matrix from the top of the
matrix stack and pushes it over to OpenGL. The vertices themselves are still
all held client-side.
@ -2707,10 +2721,10 @@ index 81ee49e..d2f9cd1 100644
protected:
virtual void SetVSyncImpl(bool enable) = 0;
From f779e77ce635b20661d8fe3cf05c8add30c4640f Mon Sep 17 00:00:00 2001
From 26797427cddeb0194681873e277690b64c1b870c Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 29 Jan 2014 13:21:19 +0000
Subject: [PATCH 14/57] Enable hardware clipping.
Subject: [PATCH 14/58] Enable hardware clipping.
---
xbmc/guilib/GUIFontTTF.cpp | 4 ++--
@ -2782,10 +2796,10 @@ index ea08bf4..b63e337 100644
glUniformMatrix4fv(modelLoc, 1, GL_FALSE, g_matrices.GetMatrix(MM_MODELVIEW));
}
From ab655b1a0e7088ecec0657da78af752c32bac4dc Mon Sep 17 00:00:00 2001
From 137a04d8a4f30b2433f9e61269a7ac26d2b07f4d Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 15 Jan 2014 15:32:51 +0000
Subject: [PATCH 15/57] Move the vertex data across to a vertex buffer object
Subject: [PATCH 15/58] Move the vertex data across to a vertex buffer object
just prior to drawing.
---
@ -2836,10 +2850,10 @@ index b63e337..b00055d 100644
// Disable the attributes used by this shader
From fbd317abfc7d3c7a143715e893317795283110b1 Mon Sep 17 00:00:00 2001
From f1ae7d8112bc321728e4ff57fec5a70ecc04f5ea Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Wed, 15 Jan 2014 16:04:04 +0000
Subject: [PATCH 16/57] Move vertex data into an OpenGL VBO when the font cache
Subject: [PATCH 16/58] Move vertex data into an OpenGL VBO when the font cache
entry is populated.
The font cache now stores the "name" (handle) of the VBO, rather than a vector
@ -3112,10 +3126,10 @@ index 735fb3a..6102c90 100644
protected:
virtual CBaseTexture* ReallocTexture(unsigned int& newHeight);
From ae2acc7dfe75dfbc3f70a2c1fd4b1dba559acdac Mon Sep 17 00:00:00 2001
From b29dc1fa694f5a709ac6ddae46ec653b099c1f92 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 1 Nov 2014 22:15:13 +0000
Subject: [PATCH 17/57] Switch from glDrawArrays() to glDrawElements().
Subject: [PATCH 17/58] Switch from glDrawArrays() to glDrawElements().
This involves setting up a static VBO containing the indexes necessary to
convert from quads to triangles on the fly in the GPU.
@ -3336,10 +3350,10 @@ index d2a94c9..7b6097a 100644
if (m_display != EGL_NO_DISPLAY)
From 1c94dd70e9cb2d753e124fbefd50f0453db4e693 Mon Sep 17 00:00:00 2001
From 53f76a143075539f45240ec643c15a271a292616 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Thu, 1 May 2014 16:28:39 +0100
Subject: [PATCH 18/57] Improved file buffering in CArchive
Subject: [PATCH 18/58] Improved file buffering in CArchive
Even though memcpy is typically inlined by the compiler into byte/word loads
and stores (at least for release builds), the frequency with which 1, 2 and 4
@ -3399,10 +3413,10 @@ index 6ed0f8f..8506d95 100644
}
else
From fc6f030518851b4927fbf0d657f2f745e401b207 Mon Sep 17 00:00:00 2001
From f1fefc844d086945d8016d07e29f95168d0f9d4c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 10 Sep 2014 22:07:21 +0100
Subject: [PATCH 19/57] [mmal] Allow mmal codec for dvd stills
Subject: [PATCH 19/58] [mmal] Allow mmal codec for dvd stills
---
xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 4 ++++
@ -3424,20 +3438,20 @@ index 10648c5..bea5e4f 100644
{
// If dvd is an mpeg2 and hint.stills
From e8febe358b9453931e36548f58f938d2622234a1 Mon Sep 17 00:00:00 2001
From dea02d3c761debebac6c37ed5229676ee1f0c17c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 12 Aug 2014 00:31:36 +0100
Subject: [PATCH 20/57] [omxcodec] Don't force software codec with dvds
Subject: [PATCH 20/58] [omxcodec] Don't force software codec with dvds
---
xbmc/cores/dvdplayer/DVDPlayer.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
index abc407d..1238937 100644
index a9bab4c..26d3903 100644
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -3216,7 +3216,9 @@ bool CDVDPlayer::OpenVideoStream(CDVDStreamInfo& hint, bool reset)
@@ -3219,7 +3219,9 @@ bool CDVDPlayer::OpenVideoStream(CDVDStreamInfo& hint, bool reset)
hint.aspect = aspect;
hint.forced_aspect = true;
}
@ -3448,10 +3462,10 @@ index abc407d..1238937 100644
CDVDInputStream::IMenus* pMenus = dynamic_cast<CDVDInputStream::IMenus*>(m_pInputStream);
From fb0e29c13896b4e95d21f3ee6cfbd922a3a3bc23 Mon Sep 17 00:00:00 2001
From c04ddcede08d1a6d49a0403b958564536ee353eb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 16 Apr 2014 21:18:06 +0100
Subject: [PATCH 21/57] [omxplayer] Don't propagate 3d flags based on supported
Subject: [PATCH 21/58] [omxplayer] Don't propagate 3d flags based on supported
3d modes
---
@ -3504,10 +3518,10 @@ index ac838ce..605318c9 100644
unsigned int iDisplayWidth = width;
unsigned int iDisplayHeight = height;
From c236dfa9a1717c08775f923acfa1c1177d106018 Mon Sep 17 00:00:00 2001
From e3a9b63eb53c1d09bf2118ede189a574344a987b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:00:52 +0100
Subject: [PATCH 22/57] [graphics] Don't set stereo mode based on resolution
Subject: [PATCH 22/58] [graphics] Don't set stereo mode based on resolution
The resolution change should follow stereo mode
---
@ -3565,10 +3579,10 @@ index 3cb5587..fe6ebf4 100644
m_iScreenWidth = info_mod.iWidth;
From c9130481ed8fc084c9cede6de706c3be16b76d04 Mon Sep 17 00:00:00 2001
From 2456ea095cef1c91b01c1bb8076a62b13beffdd9 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:01:51 +0100
Subject: [PATCH 23/57] [graphics] Allow switching to a more suitable 3D
Subject: [PATCH 23/58] [graphics] Allow switching to a more suitable 3D
resolution
---
@ -3654,10 +3668,10 @@ index 2904c1b..8d3774f 100644
void ResetOverscan(RESOLUTION_INFO &resinfo);
void ResetScreenParameters(RESOLUTION res);
From 742fa68c9915e86c2ca0b8fa32b841e368926900 Mon Sep 17 00:00:00 2001
From 8e473509510eb442cd123ea6eba1915eb0be6d29 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:38:55 +0100
Subject: [PATCH 24/57] [3D] Support switching to 3D resolutions
Subject: [PATCH 24/58] [3D] Support switching to 3D resolutions
Include matching 3D flags (SBS/TAB) in the score of a resolution to switch to, to enable switching to 3d modes.
Also remove the old code that treated 3D modes differently when assigning a score.
@ -3739,10 +3753,10 @@ index 83c3adb..8076e76 100644
return current;
}
From f2b9b06eb3ec55ab5bd21a64baa4d86ae99c7b39 Mon Sep 17 00:00:00 2001
From 90cd364132c0c5ea05bfe6253eb7e71e8df51356 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 23 Apr 2014 00:05:07 +0100
Subject: [PATCH 25/57] [graphics] Make pixel ratio for 3d modes consistent
Subject: [PATCH 25/58] [graphics] Make pixel ratio for 3d modes consistent
Note: Use the stored stereo flags from lists of resolutions.
Use current stereo mode for current resolution.
@ -3945,10 +3959,10 @@ index c58c28a..bf1e589 100644
AddUniqueResolution(res2, resolutions);
From 45754655e6dea0e390641e6ecd57c72b7dfbd03d Mon Sep 17 00:00:00 2001
From 66586edd7c9571d217d1adad4abd648858d5034c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 10 Aug 2014 16:45:16 +0100
Subject: [PATCH 26/57] filesystem: Make support of browsing into archives
Subject: [PATCH 26/58] filesystem: Make support of browsing into archives
optional
The ability to browse, scan and play content in archives can cause problems on low powered/low memory devices.
@ -3964,7 +3978,7 @@ Add a settings option to enable this feature and default to disabled on Pi
4 files changed, 28 insertions(+)
diff --git a/language/English/strings.po b/language/English/strings.po
index 3b51f49..19b919d 100755
index 15090fc..8e67be0 100755
--- a/language/English/strings.po
+++ b/language/English/strings.po
@@ -16115,4 +16115,13 @@ msgstr ""
@ -4047,10 +4061,10 @@ index 2fd8777..3b294cd 100644
{ // XBMC Smart playlist - just XML renamed to XSP
// read the name of the playlist in
From dff0a8c1fb2073f55f2e7744314dc24e2e510760 Mon Sep 17 00:00:00 2001
From 3f1b50628e907b22cbd7661b43f2aef1ab28e474 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 27 Oct 2014 13:06:57 +0000
Subject: [PATCH 28/57] [rbp] Make cachemembuffersize default depend on memory
Subject: [PATCH 28/58] [rbp] Make cachemembuffersize default depend on memory
size
---
@ -4089,10 +4103,10 @@ index ba1a3d0..5119949 100644
response[sizeof(response) - 1] = '\0';
CLog::Log(LOGNOTICE, "Config:\n%s", response);
diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
index e6d58b3..bc8598e 100644
index 478d725..69b7832 100644
--- a/xbmc/settings/AdvancedSettings.cpp
+++ b/xbmc/settings/AdvancedSettings.cpp
@@ -364,7 +364,12 @@ void CAdvancedSettings::Initialize()
@@ -365,7 +365,12 @@ void CAdvancedSettings::Initialize()
m_bPVRAutoScanIconsUserSet = false;
m_iPVRNumericChannelSwitchTimeout = 1000;
@ -4107,10 +4121,10 @@ index e6d58b3..bc8598e 100644
// as multiply of the default data read rate
From a0c85d4edeae53a6bec328b56686c7d41d78a8ac Mon Sep 17 00:00:00 2001
From 6f6cffdfcd37ef3e2fe286f1f02f684f8e7b1dcb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 16 Jun 2014 19:06:00 +0100
Subject: [PATCH 30/57] [experimental] Disable quiet-noise generation
Subject: [PATCH 30/58] [experimental] Disable quiet-noise generation
---
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp | 2 ++
@ -4137,10 +4151,10 @@ index b391ff3..463a89c 100644
void CActiveAESink::SetSilenceTimer()
From a132456841ebb1f2880bdf84e37c1758978f5697 Mon Sep 17 00:00:00 2001
From 9c6cd969c5acd458627af2c7f739a0105b8906d3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 30 May 2014 14:58:43 +0100
Subject: [PATCH 31/57] [settings] Experiment: Report DESKTOP resolution in
Subject: [PATCH 31/58] [settings] Experiment: Report DESKTOP resolution in
video settings
---
@ -4162,10 +4176,10 @@ index 6902f83..50c5f97 100644
StringUtils::Format("%dx%d%s", resolution->width, resolution->height,
ModeFlagsToString(resolution->flags, false).c_str()),
From 68c500d39d7b3fd039f4e95147ea4ad2c78c4dcd Mon Sep 17 00:00:00 2001
From 12b17989a7237d1b8d9e9a99c84eda63febfff49 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 16 Aug 2014 21:01:42 +0100
Subject: [PATCH 32/57] omxrender: Hacks to reduce GUI rendering rate when
Subject: [PATCH 32/58] omxrender: Hacks to reduce GUI rendering rate when
playing video
---
@ -4175,7 +4189,7 @@ Subject: [PATCH 32/57] omxrender: Hacks to reduce GUI rendering rate when
3 files changed, 60 insertions(+)
diff --git a/language/English/strings.po b/language/English/strings.po
index 19b919d..9d19eac 100755
index 8e67be0..8acc0e9 100755
--- a/language/English/strings.po
+++ b/language/English/strings.po
@@ -16125,3 +16125,30 @@ msgstr ""
@ -4237,7 +4251,7 @@ index f3c8a01..2996c29 100644
</section>
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 9162708..b1e6c3c 100644
index 7ee0a34..e45cb7b 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -2207,6 +2207,23 @@ void CApplication::Render()
@ -4265,10 +4279,10 @@ index 9162708..b1e6c3c 100644
int vsync_mode = CSettings::Get().GetInt("videoscreen.vsync");
From 09455a10833476983a3e682560946bb960db4fb1 Mon Sep 17 00:00:00 2001
From af8beca4949c9f7dcfa0c63eec84ea152cc5a19b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 9 Sep 2014 12:04:26 +0100
Subject: [PATCH 33/57] egl: Treat unknown display aspect ratio as square pixel
Subject: [PATCH 33/58] egl: Treat unknown display aspect ratio as square pixel
---
xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp | 4 ++--
@ -4297,10 +4311,10 @@ index bf1e589..a25eb86 100644
SetResolutionString(m_desktopRes);
From 14cc2270081fe22f50054323c247f06aadd29b43 Mon Sep 17 00:00:00 2001
From a71164f2ddc40e979d788feec578eee903bce760 Mon Sep 17 00:00:00 2001
From: anaconda <anaconda@menakite.eu>
Date: Thu, 11 Sep 2014 21:30:43 +0200
Subject: [PATCH 34/57] Disable textbox autoscrolling while on screensaver.
Subject: [PATCH 34/58] Disable textbox autoscrolling while on screensaver.
SQUASH: only if dim or black
---
@ -4310,10 +4324,10 @@ SQUASH: only if dim or black
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index b1e6c3c..3e5423f2 100644
index e45cb7b..aefa7a9 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -5873,3 +5873,10 @@ void CApplication::CloseNetworkShares()
@@ -5877,3 +5877,10 @@ void CApplication::CloseNetworkShares()
CSFTPSessionManager::DisconnectAllSessions();
#endif
}
@ -4361,10 +4375,10 @@ index b7ef051..e149418 100644
if (m_lastRenderTime)
m_autoScrollDelayTime += currentTime - m_lastRenderTime;
From c1bca494fe2e3d6730f06b4d79259b4ac47e36fa Mon Sep 17 00:00:00 2001
From d31a213d88f03ad2096df0d5706ab083bdb64cda Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 18 Sep 2014 14:24:56 +0100
Subject: [PATCH 35/57] [omxplayer] Only enable audio clock master when A/V
Subject: [PATCH 35/58] [omxplayer] Only enable audio clock master when A/V
sync method is set to audio clock
---
@ -4395,10 +4409,10 @@ index 5475570..7c07b57 100644
OMX_CONFIG_BOOLEANTYPE configBool;
OMX_INIT_STRUCTURE(configBool);
From c1623175fd74cffa173c2a293f291aa8035e10a5 Mon Sep 17 00:00:00 2001
From 049685ead7c3e8e77ad56a79ca98646a612f2117 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 19 Sep 2014 11:54:49 +0100
Subject: [PATCH 36/57] [dvdplayer/rbp] Add pi specific option to maintain
Subject: [PATCH 36/58] [dvdplayer/rbp] Add pi specific option to maintain
vsync with pll adjustment
New A/V sync option in settings/video/playback to do "Adjust PLL".
@ -4417,7 +4431,7 @@ Needed updated firmware
7 files changed, 77 insertions(+), 3 deletions(-)
diff --git a/language/English/strings.po b/language/English/strings.po
index 9d19eac..009cda1 100755
index 8acc0e9..a3b71e8 100755
--- a/language/English/strings.po
+++ b/language/English/strings.po
@@ -16152,3 +16152,8 @@ msgstr ""
@ -4597,10 +4611,10 @@ index 4fd18f3..6456657 100644
private:
DllBcmHost *m_DllBcmHost;
From 229edf3ba2101e9eb24fa42436e937f0ab3504a1 Mon Sep 17 00:00:00 2001
From 7f3bd196b837e76cb39d6c4004fcc3405ca93df7 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 27 Sep 2014 15:32:37 +0100
Subject: [PATCH 37/57] [dvdplayer] exerimental: don't raise priority of audio
Subject: [PATCH 37/58] [dvdplayer] exerimental: don't raise priority of audio
thread
---
@ -4608,10 +4622,10 @@ Subject: [PATCH 37/57] [dvdplayer] exerimental: don't raise priority of audio
1 file changed, 4 insertions(+)
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
index 1238937..a20b010 100644
index 26d3903..ea4031e 100644
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -3201,7 +3201,11 @@ bool CDVDPlayer::OpenAudioStream(CDVDStreamInfo& hint, bool reset)
@@ -3204,7 +3204,11 @@ bool CDVDPlayer::OpenAudioStream(CDVDStreamInfo& hint, bool reset)
m_dvdPlayerAudio->SendMessage(new CDVDMsg(CDVDMsg::PLAYER_STARTED), 1);
/* audio normally won't consume full cpu, so let it have prio */
@ -4624,10 +4638,10 @@ index 1238937..a20b010 100644
}
From 4744f553960bec5901805e5c97cd4176cbf5ad3c Mon Sep 17 00:00:00 2001
From 5328e5438369bd975f1fecfb19346145c1526cc3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 28 Sep 2014 19:28:17 +0100
Subject: [PATCH 38/57] [mmalcodec] Introduce a preroll period to buffer up
Subject: [PATCH 38/58] [mmalcodec] Introduce a preroll period to buffer up
frames on startup
---
@ -4760,10 +4774,10 @@ index b4aa571..4f81bbd 100644
MMAL_COMPONENT_T *m_dec;
MMAL_PORT_T *m_dec_input;
From dd7f094d2bc307b48d02b1b6649220229f00fd6a Mon Sep 17 00:00:00 2001
From bf7513efb31099a0b92e48e838c9a42a41d11c5e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 24 Sep 2014 23:13:52 +0100
Subject: [PATCH 39/57] [audio] Add settings option to boost centre channel
Subject: [PATCH 39/58] [audio] Add settings option to boost centre channel
when downmixing
This allows a dB volume increase to be added to centre channel.
@ -4781,7 +4795,7 @@ Should work with Pi Sink (dvdplayer/paplayer) and omxplayer
5 files changed, 46 insertions(+)
diff --git a/language/English/strings.po b/language/English/strings.po
index 009cda1..0aadba9 100755
index a3b71e8..24f9636 100755
--- a/language/English/strings.po
+++ b/language/English/strings.po
@@ -16157,3 +16157,18 @@ msgstr ""
@ -4886,10 +4900,10 @@ index 7c07b57..ef4c3d4 100644
// stereo upmix
if (upmix && m_src_channels == 2 && m_dst_channels > 2)
From e9af8084999e5bb9b3b17d80635f8847355d94cf Mon Sep 17 00:00:00 2001
From 5dd9c2deea5499f7475a7f7f4760de3b115e1433 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 3 Oct 2014 18:38:07 +0100
Subject: [PATCH 40/57] [omxcore] Skip out of flush on error
Subject: [PATCH 40/58] [omxcore] Skip out of flush on error
---
xbmc/linux/OMXCore.cpp | 4 ++--
@ -4918,10 +4932,10 @@ index 4ae29ba..4caa304 100644
OMX_ERRORTYPE omx_err = OMX_ErrorNone;
From 50558dabb252751676e063c7d7cca847e4713643 Mon Sep 17 00:00:00 2001
From f687959a3c51e628696c20fac24822e6b9d7db89 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 3 Oct 2014 18:40:06 +0100
Subject: [PATCH 41/57] [SinkPi] Handle multichannel layout more like OMXAudio
Subject: [PATCH 41/58] [SinkPi] Handle multichannel layout more like OMXAudio
---
xbmc/cores/AudioEngine/Sinks/AESinkPi.cpp | 14 +++++++-------
@ -4980,10 +4994,10 @@ index 89684e4..fd9a03d 100644
m_format = format;
m_sinkbuffer_sec_per_byte = 1.0 / (double)(m_format.m_frameSize * m_format.m_sampleRate);
From 0e9287a19769788dbc3477111ebda8ec6f38dd78 Mon Sep 17 00:00:00 2001
From c1026b84f3d7fc4042d5e06b838317299892feee Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 27 Oct 2014 15:23:51 +0000
Subject: [PATCH 42/57] [rbp] Default extract thumbnails to false
Subject: [PATCH 42/58] [rbp] Default extract thumbnails to false
It can take 80 seconds for a single file on a Pi. It can cause crashes with out-of-memory errors.
It genereates a lot of support issues. Best to default to disabled and let users enable it if they must
@ -5013,11 +5027,10 @@ index 79853a8..4c2ef41 100644
<section id="system">
From ec5b5aeca2cca3ef93b8a6f7d2cd5fdf6cec5187 Mon Sep 17 00:00:00 2001
From 31e2d88aa5990198eac76e2ad4c5e4c70bacc4c1 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 11 Nov 2014 18:14:23 +0000
Subject: [PATCH 46/57] [resamplepi] Try to report the same numbers as ffmpeg
Subject: [PATCH 46/58] [resamplepi] Try to report the same numbers as ffmpeg
---
.../cores/AudioEngine/Engines/ActiveAE/ActiveAEResamplePi.cpp | 11 ++++++-----
@ -5068,10 +5081,10 @@ index 84505bf..2b5bef2 100644
CLog::Log(LOGINFO, "%s::%s = %d", CLASSNAME, __func__, ret);
#endif
From cd058641b67ddfe52978c1721236769a1ddddba2 Mon Sep 17 00:00:00 2001
From 0cd72c312c42eef5be01cd317a356f80141d5df2 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 11 Nov 2014 20:49:30 +0000
Subject: [PATCH 47/57] [dvdplayer] New scheme for PLL adjustment for video
Subject: [PATCH 47/58] [dvdplayer] New scheme for PLL adjustment for video
clock
---
@ -5186,10 +5199,10 @@ index 02c64a0..37bf4bd 100644
struct SInfo
{
From 10249b3abae5e5a0df2ec8b598d00ea2b75df67e Mon Sep 17 00:00:00 2001
From f28c613b2b10a74b434d2c2eca4cef57ddae6ea4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 15 Nov 2014 12:03:34 +0000
Subject: [PATCH 48/57] [dvdplayer] Add lock for player creation
Subject: [PATCH 48/58] [dvdplayer] Add lock for player creation
---
xbmc/cores/dvdplayer/DVDPlayer.cpp | 3 +++
@ -5197,7 +5210,7 @@ Subject: [PATCH 48/57] [dvdplayer] Add lock for player creation
2 files changed, 4 insertions(+)
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
index a20b010..60d9ed4 100644
index ea4031e..67cdefc 100644
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -494,6 +494,7 @@ void CSelectionStreams::Update(CDVDInputStream* input, CDVDDemux* demuxer, std::
@ -5216,7 +5229,7 @@ index a20b010..60d9ed4 100644
if (!m_players_created)
return;
delete m_dvdPlayerVideo;
@@ -4006,6 +4008,7 @@ double CDVDPlayer::GetQueueTime()
@@ -4009,6 +4011,7 @@ double CDVDPlayer::GetQueueTime()
void CDVDPlayer::GetVideoStreamInfo(SPlayerVideoStreamInfo &info)
{
@ -5235,10 +5248,10 @@ index ef64076..7ea6ea6 100644
+ CCriticalSection m_players_lock;
};
From 11ad828f33f251c41038f9c7f5d524abb5a3a845 Mon Sep 17 00:00:00 2001
From 031140ede26edc6dc6f088a258cac4c8d9e3dc61 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 19 Nov 2014 13:29:43 +0000
Subject: [PATCH 49/57] [dvdplayeraudio] Add advancedsetting for configuring
Subject: [PATCH 49/58] [dvdplayeraudio] Add advancedsetting for configuring
max pll adjustment
---
@ -5275,7 +5288,7 @@ index 3e6d0ee..a1b6f4d 100644
}
m_last_error = m_error;
diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
index bc8598e..02b0a58 100644
index 69b7832..5eca79a 100644
--- a/xbmc/settings/AdvancedSettings.cpp
+++ b/xbmc/settings/AdvancedSettings.cpp
@@ -108,6 +108,7 @@ void CAdvancedSettings::Initialize()
@ -5286,7 +5299,7 @@ index bc8598e..02b0a58 100644
m_audioApplyDrc = true;
m_dvdplayerIgnoreDTSinWAV = false;
@@ -480,6 +481,7 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
@@ -481,6 +482,7 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
if (pElement)
{
XMLUtils::GetFloat(pElement, "ac3downmixgain", m_ac3Gain, -96.0f, 96.0f);
@ -5295,7 +5308,7 @@ index bc8598e..02b0a58 100644
XMLUtils::GetString(pElement, "defaultplayer", m_audioDefaultPlayer);
// 101 on purpose - can be used to never automark as watched
diff --git a/xbmc/settings/AdvancedSettings.h b/xbmc/settings/AdvancedSettings.h
index fb5a837..0b2666f 100644
index ca995e3..99ed121 100644
--- a/xbmc/settings/AdvancedSettings.h
+++ b/xbmc/settings/AdvancedSettings.h
@@ -137,6 +137,7 @@ class CAdvancedSettings : public ISettingCallback, public ISettingsHandler
@ -5307,10 +5320,10 @@ index fb5a837..0b2666f 100644
float m_audioPlayCountMinimumPercent;
bool m_dvdplayerIgnoreDTSinWAV;
From ef967fec73b4c2f0420ea828f8da119a468be819 Mon Sep 17 00:00:00 2001
From c6364a671a4915f14e5d74469f9eb24e4f398587 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 19 Nov 2014 17:35:44 +0000
Subject: [PATCH 50/57] [mmalrender] Skip some log message in bypass mode
Subject: [PATCH 50/58] [mmalrender] Skip some log message in bypass mode
---
xbmc/cores/VideoRenderers/MMALRenderer.cpp | 9 ++++++---
@ -5348,10 +5361,10 @@ index 03a05de..c0ff30d 100644
// we only want to upload frames once
if (buffer->flipindex++)
From a92a9f8c4fc388a652a4802b9a8d26fbc89795ab Mon Sep 17 00:00:00 2001
From c42802e773ab8a3350956c30a3fde7699d7d39b5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 24 Nov 2014 21:24:25 +0000
Subject: [PATCH 51/57] [mmalcodec] Avoid deinterlace for dvd menus for now
Subject: [PATCH 51/58] [mmalcodec] Avoid deinterlace for dvd menus for now
---
xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp | 2 +-
@ -5371,10 +5384,10 @@ index 6742e0e..a1f11e9 100644
else if (deinterlace_request == VS_DEINTERLACEMODE_FORCE)
deinterlace = true;
From bc0ea3f2daf284ac1b3fe19b7bbcf041ea8aa30e Mon Sep 17 00:00:00 2001
From 9aa36617278042a3b398bce556cff1c1725dc52b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 24 Nov 2014 22:07:25 +0000
Subject: [PATCH 52/57] [dvdplayervideo] Prod decoder when in stills mode
Subject: [PATCH 52/58] [dvdplayervideo] Prod decoder when in stills mode
An asynchronous hardware decoder doesn't only produce output pictures when new packets arrive.
In dvd stills mode give it a chance to return pictures that weren't ready when frame was decoded.
@ -5451,10 +5464,10 @@ index f030e37..7a8fc10 100644
if (pMsg->IsType(CDVDMsg::GENERAL_SYNCHRONIZE))
From 02bbcdca9c885e5b9ad6c1834e949b8fc378a89a Mon Sep 17 00:00:00 2001
From 7f349f1d0829a9f53d0350107c757a22f2de497a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 16:20:56 +0000
Subject: [PATCH 53/57] [mmalcodec] Skip some setup that is not required when
Subject: [PATCH 53/58] [mmalcodec] Skip some setup that is not required when
closing
---
@ -5521,10 +5534,10 @@ index a1f11e9..a11fa65 100644
m_startframe = false;
m_decoderPts = DVD_NOPTS_VALUE;
From 998e8dfa7f249e086ac8ec0b83bf01a2054bf8d6 Mon Sep 17 00:00:00 2001
From b1e548a9fc880a0e13cfd6c17bd341c4bfff4f99 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 16:31:56 +0000
Subject: [PATCH 54/57] [languageinvoker] Reduce priority of python threads
Subject: [PATCH 54/58] [languageinvoker] Reduce priority of python threads
---
xbmc/interfaces/generic/LanguageInvokerThread.cpp | 5 +++++
@ -5547,10 +5560,10 @@ index 7b0d903..f92aa3e 100644
}
From 89f7c5589e9bc00c6280fa969d51ed68ca12b98d Mon Sep 17 00:00:00 2001
From 5572314baa9a6025982f826e44de168928c7e96b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 17:53:46 +0000
Subject: [PATCH 55/57] [mmalcodec] Try reducing number of video frames
Subject: [PATCH 55/58] [mmalcodec] Try reducing number of video frames
---
xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp | 2 +-
@ -5584,10 +5597,10 @@ index 4f81bbd..79a4bfd 100644
virtual const char* GetName(void) { return (const char*)m_pFormatName; }
virtual bool GetCodecStats(double &pts, int &droppedPics);
From 144c26854dcdd6cf8eb19bfc3f4805caed405a96 Mon Sep 17 00:00:00 2001
From 27cad955313ec905df55b5d3ba55a38686ab394e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 1 Dec 2014 17:31:00 +0000
Subject: [PATCH 56/57] [mmalcodec] Ensure we have requested number of buffers
Subject: [PATCH 56/58] [mmalcodec] Ensure we have requested number of buffers
in non-accelerated case
---
@ -5608,10 +5621,10 @@ index c0ff30d..6d461bd 100644
status = mmal_port_enable(m_vout_input, vout_input_port_cb_static);
From e69f683bc919f53400b07a15c3d5bcaf0cec40f7 Mon Sep 17 00:00:00 2001
From 409b623f78966fbab6c4a5769d79aad51936e11e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Dec 2014 21:17:53 +0000
Subject: [PATCH 57/57] [omxplayer] Add some info about hdmi sync to codec
Subject: [PATCH 57/58] [omxplayer] Add some info about hdmi sync to codec
overlay
---
@ -5691,3 +5704,39 @@ index c8fd5fb..9f26427 100644
void SubmitEOS();
bool IsEOS();
bool SubmittedEOS() const { return m_submitted_eos; }
From 17912f08b02d7d9f8b9b3734873469815a14dbac Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 7 Dec 2014 15:21:18 +0000
Subject: [PATCH 58/58] [omxplayer] Remove test of removed setting, avoids a
log message
---
xbmc/cores/omxplayer/OMXPlayerAudio.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xbmc/cores/omxplayer/OMXPlayerAudio.cpp b/xbmc/cores/omxplayer/OMXPlayerAudio.cpp
index 66014d4..c2da2d2 100644
--- a/xbmc/cores/omxplayer/OMXPlayerAudio.cpp
+++ b/xbmc/cores/omxplayer/OMXPlayerAudio.cpp
@@ -525,17 +525,17 @@ AEDataFormat OMXPlayerAudio::GetDataFormat(CDVDStreamInfo hints)
/* check our audio capabilties */
/* pathrought is overriding hw decode*/
- if(hints.codec == AV_CODEC_ID_AC3 && CAEFactory::SupportsRaw(AE_FMT_AC3, hints.samplerate) && !CSettings::Get().GetBool("audiooutput.dualaudio"))
+ if(hints.codec == AV_CODEC_ID_AC3 && CAEFactory::SupportsRaw(AE_FMT_AC3, hints.samplerate))
{
dataFormat = AE_FMT_AC3;
m_passthrough = true;
}
- if(hints.codec == AV_CODEC_ID_EAC3 && CAEFactory::SupportsRaw(AE_FMT_AC3, hints.samplerate * 4) && !CSettings::Get().GetBool("audiooutput.dualaudio"))
+ if(hints.codec == AV_CODEC_ID_EAC3 && CAEFactory::SupportsRaw(AE_FMT_AC3, hints.samplerate * 4))
{
dataFormat = AE_FMT_EAC3;
m_passthrough = true;
}
- if(hints.codec == AV_CODEC_ID_DTS && CAEFactory::SupportsRaw(AE_FMT_DTS, hints.samplerate) && !CSettings::Get().GetBool("audiooutput.dualaudio"))
+ if(hints.codec == AV_CODEC_ID_DTS && CAEFactory::SupportsRaw(AE_FMT_DTS, hints.samplerate))
{
dataFormat = AE_FMT_DTS;
m_passthrough = true;