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

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2015-03-28 14:27:28 +01:00
parent dcb8e7ae68
commit b1056fe076
2 changed files with 382 additions and 268 deletions

View File

@ -1,7 +1,7 @@
From f23ab1d1d44d079e1b717443fae9d203adb94010 Mon Sep 17 00:00:00 2001
From 632fd2b97fbfa016fe229cf44e6d2a42e8d91edc Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 7 Apr 2014 18:19:32 +0100
Subject: [PATCH 01/70] [rbp/omxplayer] When opening a stream don't try to
Subject: [PATCH 01/75] [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 2b03dcb437676c2c1dd6f3140c35fc59dc25c0fe Mon Sep 17 00:00:00 2001
From 3f4ea17c35b2534740ab625358dc9c3ae1d9059d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 29 Apr 2014 15:23:22 +0100
Subject: [PATCH 02/70] [ffmpeg] Speed up wtv index creation
Subject: [PATCH 02/75] [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 7ab9100836aa39a979f228d1c65c764d6a4a236a Mon Sep 17 00:00:00 2001
From a7d6d41cba0dedb0e3afb819273a995e4706e0aa Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 2 Aug 2014 17:48:04 +0100
Subject: [PATCH 03/70] [omx] Report decoded image name
Subject: [PATCH 03/75] [omx] Report decoded image name
---
xbmc/cores/omxplayer/OMXImage.cpp | 1 +
@ -136,10 +136,10 @@ index aa413b9..22ec3f0 100644
else
{
From b44ea5962fc3c4bf3db0ea0e85f190dea4792a94 Mon Sep 17 00:00:00 2001
From 339d2a6c448685ec177367b4c20bbf2bacfcbf6a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 8 Mar 2014 15:36:06 +0000
Subject: [PATCH 04/70] [hifiberry] Hack: force it to be recognised as IEC958
Subject: [PATCH 04/75] [hifiberry] Hack: force it to be recognised as IEC958
capable to enable passthrough options
---
@ -162,10 +162,10 @@ index df50940..2d853d6 100644
info.m_displayName.substr(info.m_displayName.size()-5) == " HDMI")
{
From 8fcc5ff411027c181debffdb187e8c43f165c7d7 Mon Sep 17 00:00:00 2001
From 9f045eb959a0cc511c83fb527bcbef0507a64964 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/70] Move the reference-counting of Begin and End calls from
Subject: [PATCH 05/75] 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 0ab1240b777cd494c035f444d989b592050e1633 Mon Sep 17 00:00:00 2001
From ad4929367028c6111ce1117070fcb99f3cce9aac 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/70] Convert CGUIFontTTFBase::m_vertex to be managed as a
Subject: [PATCH 06/75] 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 4723d7e5623eba5b742fcb03a5ba3cd1f11c19f7 Mon Sep 17 00:00:00 2001
From 14b9fe8b9a25ec2f6c016bc68d00d33a775ff420 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/70] CGUIFontTTFBase::RenderCharacter can now append to
Subject: [PATCH 07/75] 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 9ed78d0a66024e5a9089453beeb3cebc3d0eef77 Mon Sep 17 00:00:00 2001
From d8c252f045dee39e64df00abc4d54a4b5e7b9fcf 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/70] Add a cache of font glyph bounding box vertices.
Subject: [PATCH 08/75] 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
@ -1575,10 +1575,10 @@ index f351c99..9036ba9 100644
+ return !operator==(a, b);
+}
From e4bbc736884bd365ad96164a2f7876a6f3d87b1a Mon Sep 17 00:00:00 2001
From 824d5347910e00b9e0c44deffaff4d2b6db6bca3 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/70] Lay the groundwork for hardware clipping.
Subject: [PATCH 09/75] 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 +1840,10 @@ index 98e398a..81ee49e 100644
virtual void ResetScissors();
From 70e40bccbc6544aab22794e444b7d977646b8cbb Mon Sep 17 00:00:00 2001
From b201e727e19af94c6d58528ebcd5960baafee499 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/70] Increase font cache hit rate by keying on the
Subject: [PATCH 10/75] 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 +2044,10 @@ index 3b93672..258dffa 100644
private:
virtual bool FirstBegin() = 0;
From adf68d8d211269893bb578d05ac512ea3977f4ca Mon Sep 17 00:00:00 2001
From 818067e098f2b2f0fe8c816775646eef96f3b7b9 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/70] Rewrite of scrolling text code.
Subject: [PATCH 11/75] 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 +2363,10 @@ index 2cda726..fbc579e 100644
private:
void Process();
From fe43cfbba06400515c04e40d3417acc53d858aea Mon Sep 17 00:00:00 2001
From 92fa695abd21992829758d5978f98f81ea99a3c5 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/70] Move the application of the translation offsets into
Subject: [PATCH 12/75] 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 +2560,10 @@ index 9935ea4..18c9358 100644
memset(newTexture->GetPixels(), 0, m_textureHeight * newTexture->GetPitch());
if (m_texture)
From 1b8a082fd54c36fa595026505eaa78a4c5993f46 Mon Sep 17 00:00:00 2001
From 81abd97bf3d135acc7be29f201ea53657c7727d2 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/70] Rather than applying the translation offsets to the
Subject: [PATCH 13/75] 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 +2707,10 @@ index 81ee49e..d2f9cd1 100644
protected:
virtual void SetVSyncImpl(bool enable) = 0;
From 40534da563b7a9699efc30fd1a35acef503a11cc Mon Sep 17 00:00:00 2001
From 0112e23ceb86275743bb929c50db98928a7c635b 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/70] Enable hardware clipping.
Subject: [PATCH 14/75] Enable hardware clipping.
---
xbmc/guilib/GUIFontTTF.cpp | 4 ++--
@ -2782,10 +2782,10 @@ index ea08bf4..b63e337 100644
glUniformMatrix4fv(modelLoc, 1, GL_FALSE, g_matrices.GetMatrix(MM_MODELVIEW));
}
From 55f8c6fdadbf0b246593fb694bc95ae0e2fb29db Mon Sep 17 00:00:00 2001
From 7a633290e3614e6ff0d073e2653e080d5e2ac8fd 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/70] Move the vertex data across to a vertex buffer object
Subject: [PATCH 15/75] Move the vertex data across to a vertex buffer object
just prior to drawing.
---
@ -2836,10 +2836,10 @@ index b63e337..b00055d 100644
// Disable the attributes used by this shader
From 55b8c1c91af0441c4d4cd59db0706a211622dbf9 Mon Sep 17 00:00:00 2001
From 243c446cdb97ab29e1a75b70c244ad5b741dce57 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/70] Move vertex data into an OpenGL VBO when the font cache
Subject: [PATCH 16/75] 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 +3112,10 @@ index 735fb3a..6102c90 100644
protected:
virtual CBaseTexture* ReallocTexture(unsigned int& newHeight);
From 1365ecfe3c2cdc4681407212ac7bd3839e8975fd Mon Sep 17 00:00:00 2001
From 2c1526c28ea480fdf884904a4e21db9ad514855b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 1 Nov 2014 22:15:13 +0000
Subject: [PATCH 17/70] Switch from glDrawArrays() to glDrawElements().
Subject: [PATCH 17/75] 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 +3336,10 @@ index 2bdd4fa..68f0117 100644
if (m_display != EGL_NO_DISPLAY)
From 952f238a4b3a64374b9bcc1fd029897467cfd488 Mon Sep 17 00:00:00 2001
From 0581bdecd8c045559dcf682ea7e4bbd5a7849653 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/70] Improved file buffering in CArchive
Subject: [PATCH 18/75] 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 +3399,10 @@ index 6ed0f8f..8506d95 100644
}
else
From ca404a7c613e1a15e997e823fca3cea95e54f108 Mon Sep 17 00:00:00 2001
From 0dc98aba1e8c9bf8d63bcd12bbc18a5a6021231f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 10 Sep 2014 22:07:21 +0100
Subject: [PATCH 19/70] [mmal] Allow mmal codec for dvd stills
Subject: [PATCH 19/75] [mmal] Allow mmal codec for dvd stills
---
xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 4 ++++
@ -3424,10 +3424,10 @@ index 10648c5..bea5e4f 100644
{
// If dvd is an mpeg2 and hint.stills
From c1b141b498099569d3a38b1cb241eadf9483d834 Mon Sep 17 00:00:00 2001
From d46182be867dae3e4405be4558275250f87ea3c5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 12 Aug 2014 00:31:36 +0100
Subject: [PATCH 20/70] [omxcodec] Don't force software codec with dvds
Subject: [PATCH 20/75] [omxcodec] Don't force software codec with dvds
---
xbmc/cores/dvdplayer/DVDPlayer.cpp | 2 ++
@ -3448,10 +3448,10 @@ index aae59dc..12a3ed6 100644
CDVDInputStream::IMenus* pMenus = dynamic_cast<CDVDInputStream::IMenus*>(m_pInputStream);
From acd3b3135253ba279eef701b7e78e077b84b3c51 Mon Sep 17 00:00:00 2001
From 7026b367733a3529f98c3ccb56b16adb6324d320 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 16 Apr 2014 21:18:06 +0100
Subject: [PATCH 21/70] [omxplayer] Don't propagate 3d flags based on supported
Subject: [PATCH 21/75] [omxplayer] Don't propagate 3d flags based on supported
3d modes
---
@ -3504,10 +3504,10 @@ index ac838ce..605318c9 100644
unsigned int iDisplayWidth = width;
unsigned int iDisplayHeight = height;
From 9eec9bf72bc0132ea9630accead9892d45bcdac6 Mon Sep 17 00:00:00 2001
From 9b5da40db6647d40a2c17ab957a3058622472898 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:00:52 +0100
Subject: [PATCH 22/70] [graphics] Don't set stereo mode based on resolution
Subject: [PATCH 22/75] [graphics] Don't set stereo mode based on resolution
The resolution change should follow stereo mode
---
@ -3565,10 +3565,10 @@ index 3cb5587..fe6ebf4 100644
m_iScreenWidth = info_mod.iWidth;
From 84b46a4d301d631685fadec52a9eee5531a6f204 Mon Sep 17 00:00:00 2001
From 47fab3f66ff687e42456d0ae5f94dd5df359285e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:01:51 +0100
Subject: [PATCH 23/70] [graphics] Allow switching to a more suitable 3D
Subject: [PATCH 23/75] [graphics] Allow switching to a more suitable 3D
resolution
---
@ -3654,10 +3654,10 @@ index 2904c1b..8d3774f 100644
void ResetOverscan(RESOLUTION_INFO &resinfo);
void ResetScreenParameters(RESOLUTION res);
From 02dbdbba04d356097e1c41bc3a0bde3d275cf5e3 Mon Sep 17 00:00:00 2001
From d5838e37d76f6a0e7054d7e9cbb7beab41b2f63b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:38:55 +0100
Subject: [PATCH 24/70] [3D] Support switching to 3D resolutions
Subject: [PATCH 24/75] [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 +3739,10 @@ index 83c3adb..8076e76 100644
return current;
}
From 774a335c727687600693ff058aed8ea6bd28b867 Mon Sep 17 00:00:00 2001
From e397abe59fbddcaf141d261855278cb6048e136f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 23 Apr 2014 00:05:07 +0100
Subject: [PATCH 25/70] [graphics] Make pixel ratio for 3d modes consistent
Subject: [PATCH 25/75] [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 +3945,10 @@ index c58c28a..bf1e589 100644
AddUniqueResolution(res2, resolutions);
From 737c86fa8cea517c5eb678aadc28cd5abe58a15b Mon Sep 17 00:00:00 2001
From 00d11452657c179a50e9754838753b4dd1e3742e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 10 Aug 2014 16:45:16 +0100
Subject: [PATCH 26/70] filesystem: Make support of browsing into archives
Subject: [PATCH 26/75] 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.
@ -4047,10 +4047,10 @@ index 2fd8777..3b294cd 100644
{ // XBMC Smart playlist - just XML renamed to XSP
// read the name of the playlist in
From b256e34e5811f7483464ba8ff9bf0ec15d47b68f Mon Sep 17 00:00:00 2001
From 7d1f22e56a754a0723d7245baf7505665e0bebeb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 27 Oct 2014 13:06:57 +0000
Subject: [PATCH 28/70] [rbp] Make cachemembuffersize default depend on memory
Subject: [PATCH 28/75] [rbp] Make cachemembuffersize default depend on memory
size
---
@ -4106,10 +4106,11 @@ index a1b68b5..e9cd63a 100644
// the following setting determines the readRate of a player data
// as multiply of the default data read rate
From a8bfa72200c62f3d1c0fc0ac7f211ad4d837eb6c Mon Sep 17 00:00:00 2001
From 62ecc2e30e189aedac46f4be65186803bfa82f18 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 16 Jun 2014 19:06:00 +0100
Subject: [PATCH 30/70] [experimental] Disable quiet-noise generation
Subject: [PATCH 30/75] [experimental] Disable quiet-noise generation
---
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp | 2 ++
@ -4136,10 +4137,10 @@ index b391ff3..463a89c 100644
void CActiveAESink::SetSilenceTimer()
From 9b94b2b1cb9c1bab31c899c634cc45e6e1cd7150 Mon Sep 17 00:00:00 2001
From 009d4c64318bcdc5e032fa0b7cee597b5a681d54 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 30 May 2014 14:58:43 +0100
Subject: [PATCH 31/70] [settings] Experiment: Report DESKTOP resolution in
Subject: [PATCH 31/75] [settings] Experiment: Report DESKTOP resolution in
video settings
---
@ -4161,10 +4162,10 @@ index 6902f83..50c5f97 100644
StringUtils::Format("%dx%d%s", resolution->width, resolution->height,
ModeFlagsToString(resolution->flags, false).c_str()),
From 795fb5aea08500fc3d94e0054f5699b66f040417 Mon Sep 17 00:00:00 2001
From 725c75575238ea8e0de9eba52323dd9a391ac355 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 16 Aug 2014 21:01:42 +0100
Subject: [PATCH 32/70] omxrender: Hacks to reduce GUI rendering rate when
Subject: [PATCH 32/75] omxrender: Hacks to reduce GUI rendering rate when
playing video
---
@ -4264,10 +4265,10 @@ index 5425322..1df2418 100644
int vsync_mode = CSettings::Get().GetInt("videoscreen.vsync");
From f6f7d1ce0a3fc97bf05a395842e72cbf5058284d Mon Sep 17 00:00:00 2001
From a284f50bd2047bc50af73aa75a44020dfa3cde42 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 9 Sep 2014 12:04:26 +0100
Subject: [PATCH 33/70] egl: Treat unknown display aspect ratio as square pixel
Subject: [PATCH 33/75] egl: Treat unknown display aspect ratio as square pixel
---
xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp | 4 ++--
@ -4296,10 +4297,10 @@ index bf1e589..a25eb86 100644
SetResolutionString(m_desktopRes);
From 89971ac3e1976bc64e4a36d9272a0d5c2605ec37 Mon Sep 17 00:00:00 2001
From 212072cd72b7b11e45fe2582a2f442edf889f55c Mon Sep 17 00:00:00 2001
From: anaconda <anaconda@menakite.eu>
Date: Thu, 11 Sep 2014 21:30:43 +0200
Subject: [PATCH 34/70] Disable textbox autoscrolling while on screensaver.
Subject: [PATCH 34/75] Disable textbox autoscrolling while on screensaver.
SQUASH: only if dim or black
---
@ -4360,10 +4361,10 @@ index c0e2fa5..0eca360 100644
if (m_lastRenderTime)
m_autoScrollDelayTime += currentTime - m_lastRenderTime;
From 58c6c18ccabc7d4c9d28f2dc1acaa50ce5dfdd2e Mon Sep 17 00:00:00 2001
From 3220e1f7f63c9d9d4b50088a6f8627770658a582 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 18 Sep 2014 14:24:56 +0100
Subject: [PATCH 35/70] [omxplayer] Only enable audio clock master when A/V
Subject: [PATCH 35/75] [omxplayer] Only enable audio clock master when A/V
sync method is set to audio clock
---
@ -4394,10 +4395,10 @@ index 5475570..7c07b57 100644
OMX_CONFIG_BOOLEANTYPE configBool;
OMX_INIT_STRUCTURE(configBool);
From de6cb2bf5543ce802cfb65b12d73ed2b533bf51b Mon Sep 17 00:00:00 2001
From 222992a4992f1eee0e343b072b59b7680d46162b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 19 Sep 2014 11:54:49 +0100
Subject: [PATCH 36/70] [dvdplayer/rbp] Add pi specific option to maintain
Subject: [PATCH 36/75] [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".
@ -4596,10 +4597,10 @@ index 4fd18f3..6456657 100644
private:
DllBcmHost *m_DllBcmHost;
From 0e1439f9c66df9f115aa4532858fae7b0af02516 Mon Sep 17 00:00:00 2001
From 29a77a2507e861a52bec8c00547c566803610109 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 27 Sep 2014 15:32:37 +0100
Subject: [PATCH 37/70] [dvdplayer] exerimental: don't raise priority of audio
Subject: [PATCH 37/75] [dvdplayer] exerimental: don't raise priority of audio
thread
---
@ -4623,10 +4624,10 @@ index 12a3ed6..cb512ed 100644
}
From 1fbb557dfc468855702ac1522b3b683a655ddd62 Mon Sep 17 00:00:00 2001
From eedd135d8bb82fdd8bdc965513beb2dc3e62c66e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 28 Sep 2014 19:28:17 +0100
Subject: [PATCH 38/70] [mmalcodec] Introduce a preroll period to buffer up
Subject: [PATCH 38/75] [mmalcodec] Introduce a preroll period to buffer up
frames on startup
---
@ -4759,10 +4760,10 @@ index b4aa571..4f81bbd 100644
MMAL_COMPONENT_T *m_dec;
MMAL_PORT_T *m_dec_input;
From a006bd88df683664061e3a0363ffc67bee7f8a80 Mon Sep 17 00:00:00 2001
From 84916f93b7d3c7a740a4669c3d36f3314a773b54 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 24 Sep 2014 23:13:52 +0100
Subject: [PATCH 39/70] [audio] Add settings option to boost centre channel
Subject: [PATCH 39/75] [audio] Add settings option to boost centre channel
when downmixing
This allows a dB volume increase to be added to centre channel.
@ -4885,10 +4886,10 @@ index 7c07b57..ef4c3d4 100644
// stereo upmix
if (upmix && m_src_channels == 2 && m_dst_channels > 2)
From 157655e392db3920cb16538a0bd07a369abe1e25 Mon Sep 17 00:00:00 2001
From 138475ea18c50ffb151d83b4498065f6fd177a4c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 3 Oct 2014 18:38:07 +0100
Subject: [PATCH 40/70] [omxcore] Skip out of flush on error
Subject: [PATCH 40/75] [omxcore] Skip out of flush on error
---
xbmc/linux/OMXCore.cpp | 4 ++--
@ -4917,10 +4918,10 @@ index 4ae29ba..4caa304 100644
OMX_ERRORTYPE omx_err = OMX_ErrorNone;
From 2e472e101e5696bf7d91719fb4bcfbee9ac58858 Mon Sep 17 00:00:00 2001
From 02de40bac468886dcb16dbbfc6175a1d7167ffb3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 3 Oct 2014 18:40:06 +0100
Subject: [PATCH 41/70] [SinkPi] Handle multichannel layout more like OMXAudio
Subject: [PATCH 41/75] [SinkPi] Handle multichannel layout more like OMXAudio
---
xbmc/cores/AudioEngine/Sinks/AESinkPi.cpp | 14 +++++++-------
@ -4979,10 +4980,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 50321a75fe06b74f1b426d1a36b8dbbf3f72aff6 Mon Sep 17 00:00:00 2001
From 960a504f649cd7b044244c57baad37ed51e0254a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 27 Oct 2014 15:23:51 +0000
Subject: [PATCH 42/70] [rbp] Default extract thumbnails to false
Subject: [PATCH 42/75] [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
@ -5012,10 +5013,10 @@ index 79853a8..4c2ef41 100644
<section id="system">
From e0269eea6896873e9c63ce9b8a76a6b01ede714a Mon Sep 17 00:00:00 2001
From 23830676efe433f73e747f68bebbea710bbeb88e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 11 Nov 2014 18:14:23 +0000
Subject: [PATCH 43/70] [resamplepi] Try to report the same numbers as ffmpeg
Subject: [PATCH 43/75] [resamplepi] Try to report the same numbers as ffmpeg
---
.../cores/AudioEngine/Engines/ActiveAE/ActiveAEResamplePi.cpp | 11 ++++++-----
@ -5066,10 +5067,10 @@ index 84505bf..2b5bef2 100644
CLog::Log(LOGINFO, "%s::%s = %d", CLASSNAME, __func__, ret);
#endif
From 368df3526a36d1f2fc1ba6baa25aa2dc8468827e Mon Sep 17 00:00:00 2001
From dff457e218d695b32a4ad362e9cd96595e677fd4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 11 Nov 2014 20:49:30 +0000
Subject: [PATCH 44/70] [dvdplayer] New scheme for PLL adjustment for video
Subject: [PATCH 44/75] [dvdplayer] New scheme for PLL adjustment for video
clock
---
@ -5184,10 +5185,10 @@ index 02c64a0..37bf4bd 100644
struct SInfo
{
From 5733df427b0c90a7f22397b27fac42bc083d7463 Mon Sep 17 00:00:00 2001
From 063facdddb659360288c377eb4a11aa25427ac74 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 15 Nov 2014 12:03:34 +0000
Subject: [PATCH 45/70] [dvdplayer] Add lock for player creation
Subject: [PATCH 45/75] [dvdplayer] Add lock for player creation
---
xbmc/cores/dvdplayer/DVDPlayer.cpp | 3 +++
@ -5233,10 +5234,10 @@ index ef64076..7ea6ea6 100644
+ CCriticalSection m_players_lock;
};
From 6c788dd7eab7a682c169f33c3901d83ceb1fb29e Mon Sep 17 00:00:00 2001
From ec8eebaab2cbc09a09f6435d51cfdf946368a2a3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 19 Nov 2014 13:29:43 +0000
Subject: [PATCH 46/70] [dvdplayeraudio] Add advancedsetting for configuring
Subject: [PATCH 46/75] [dvdplayeraudio] Add advancedsetting for configuring
max pll adjustment
---
@ -5305,10 +5306,10 @@ index ed91aba..eccc62f 100644
float m_audioPlayCountMinimumPercent;
bool m_dvdplayerIgnoreDTSinWAV;
From 6ccc5b5928d4efb027ac882a079e06452a3e4a62 Mon Sep 17 00:00:00 2001
From 7f6ceceb2f69718018c768a6bdad004b8d8cbb88 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 19 Nov 2014 17:35:44 +0000
Subject: [PATCH 47/70] [mmalrender] Skip some log message in bypass mode
Subject: [PATCH 47/75] [mmalrender] Skip some log message in bypass mode
---
xbmc/cores/VideoRenderers/MMALRenderer.cpp | 9 ++++++---
@ -5346,10 +5347,10 @@ index 03a05de..c0ff30d 100644
// we only want to upload frames once
if (buffer->flipindex++)
From a0087556e4393eb2281fe45e20ed6d4f92873a53 Mon Sep 17 00:00:00 2001
From e1b8916187049e731b79ea1550b1d2bd393f4014 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 24 Nov 2014 21:24:25 +0000
Subject: [PATCH 48/70] [mmalcodec] Avoid deinterlace for dvd menus for now
Subject: [PATCH 48/75] [mmalcodec] Avoid deinterlace for dvd menus for now
---
xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp | 2 +-
@ -5369,10 +5370,10 @@ index 6742e0e..a1f11e9 100644
else if (deinterlace_request == VS_DEINTERLACEMODE_FORCE)
deinterlace = true;
From 5314915973ad089039857bbbdaed9d9ce6102bf2 Mon Sep 17 00:00:00 2001
From be0e902ee3257fb5a3ffc27cdeecad337b506c30 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 24 Nov 2014 22:07:25 +0000
Subject: [PATCH 49/70] [dvdplayervideo] Prod decoder when in stills mode
Subject: [PATCH 49/75] [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.
@ -5449,10 +5450,10 @@ index f030e37..7a8fc10 100644
if (pMsg->IsType(CDVDMsg::GENERAL_SYNCHRONIZE))
From cae97c009e68fdd87b4149244a2487e9dbccda70 Mon Sep 17 00:00:00 2001
From bb7e171804ee58a781715cce47c51fd53614c667 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 16:20:56 +0000
Subject: [PATCH 50/70] [mmalcodec] Skip some setup that is not required when
Subject: [PATCH 50/75] [mmalcodec] Skip some setup that is not required when
closing
---
@ -5519,10 +5520,10 @@ index a1f11e9..a11fa65 100644
m_startframe = false;
m_decoderPts = DVD_NOPTS_VALUE;
From ded576e27b601453c76b98d7ba21f6dd124e0e84 Mon Sep 17 00:00:00 2001
From 5930f4130c9d65fd93e58e2e4982948d2040f52f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 16:31:56 +0000
Subject: [PATCH 51/70] [languageinvoker] Reduce priority of python threads
Subject: [PATCH 51/75] [languageinvoker] Reduce priority of python threads
---
xbmc/interfaces/generic/LanguageInvokerThread.cpp | 5 +++++
@ -5545,10 +5546,10 @@ index 7b0d903..f92aa3e 100644
}
From 679e8af531617428188543b30c881c1eac657c94 Mon Sep 17 00:00:00 2001
From cf8ad14e8e9035e4d29ca3e1b34c87a736418de0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 17:53:46 +0000
Subject: [PATCH 52/70] [mmalcodec] Try reducing number of video frames
Subject: [PATCH 52/75] [mmalcodec] Try reducing number of video frames
---
xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp | 2 +-
@ -5582,10 +5583,10 @@ index 4f81bbd..79a4bfd 100644
virtual const char* GetName(void) { return (const char*)m_pFormatName; }
virtual bool GetCodecStats(double &pts, int &droppedPics);
From eb3172760a433f4207a9868091494f16e5093dfb Mon Sep 17 00:00:00 2001
From 8674e33d70b70cbdddb884150f9367913281c822 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 1 Dec 2014 17:31:00 +0000
Subject: [PATCH 53/70] [mmalcodec] Ensure we have requested number of buffers
Subject: [PATCH 53/75] [mmalcodec] Ensure we have requested number of buffers
in non-accelerated case
---
@ -5606,10 +5607,10 @@ index c0ff30d..6d461bd 100644
status = mmal_port_enable(m_vout_input, vout_input_port_cb_static);
From ce9325f77e17bcc4f54c2d5b34bcdf6a3c05cf51 Mon Sep 17 00:00:00 2001
From 9f8efa4d26372a517b28da10b46e761efb08fd82 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Dec 2014 21:17:53 +0000
Subject: [PATCH 54/70] [omxplayer] Add some info about hdmi sync to codec
Subject: [PATCH 54/75] [omxplayer] Add some info about hdmi sync to codec
overlay
---
@ -5690,10 +5691,10 @@ index c8fd5fb..9f26427 100644
bool IsEOS();
bool SubmittedEOS() const { return m_submitted_eos; }
From fd196da51291f5254b181fd6c8e7947e053fe748 Mon Sep 17 00:00:00 2001
From c3220a3ed4bf509aa691979a3e341574eb2b940b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 7 Dec 2014 15:21:18 +0000
Subject: [PATCH 55/70] [omxplayer] Remove test of removed setting, avoids a
Subject: [PATCH 55/75] [omxplayer] Remove test of removed setting, avoids a
log message
---
@ -5726,10 +5727,10 @@ index 66014d4..c2da2d2 100644
dataFormat = AE_FMT_DTS;
m_passthrough = true;
From a348dac928288c978ebcad6999f913f652f660f8 Mon Sep 17 00:00:00 2001
From 38648532ae2482c5923009a8085665d721630b6d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 28 Dec 2014 19:13:51 +0000
Subject: [PATCH 56/70] [omxplayer] Skip packet concatenation for WMAV2 files
Subject: [PATCH 56/75] [omxplayer] Skip packet concatenation for WMAV2 files
See: http://forum.kodi.tv/showthread.php?tid=212552
---
@ -5752,10 +5753,10 @@ index 94b673e..1a920f7 100644
if(m_pCodecContext->bits_per_coded_sample == 0)
From c405f16c5a6c06c8e7616acf5d5c4b61362bdfc0 Mon Sep 17 00:00:00 2001
From a10151bb193d6c832c1700be0bbabedae32f8b80 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 31 Dec 2014 17:08:52 +0000
Subject: [PATCH 57/70] filesystem: Make browsing into archives enbabled by
Subject: [PATCH 57/75] filesystem: Make browsing into archives enbabled by
default on Pi
This causes issues for people who scan library with archives disabled, then subsequently enable it.
@ -5787,10 +5788,10 @@ index 4c2ef41..3260465 100644
<category id="videoplayer" label="14086" help="36151">
<group id="2">
From fdf578ad886aeabfccb4376a2a8e9cc9e1b71f10 Mon Sep 17 00:00:00 2001
From 1b25d3a54d15b90d76dcbcdceebb719ea18c24a3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 31 Dec 2014 16:03:32 +0000
Subject: [PATCH 58/70] [PVR] Fix for slow metadata updates of recordings
Subject: [PATCH 58/75] [PVR] Fix for slow metadata updates of recordings
See: http://forum.kodi.tv/showthread.php?tid=210774
@ -5978,10 +5979,10 @@ index 6b8cb14..2bcc834 100644
int Load();
void Unload();
From 74b410774cb450e63a7852187dac4a5c789eb4d8 Mon Sep 17 00:00:00 2001
From 1da99439c1b3502111974ddce6f033b9d59675a0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 29 Dec 2014 17:20:00 +0000
Subject: [PATCH 59/70] [dvdplayer] Allow pll adjustment to go higher, but tail
Subject: [PATCH 59/75] [dvdplayer] Allow pll adjustment to go higher, but tail
off more gradually
---
@ -6016,10 +6017,10 @@ index 3a266f8..f007f42 100644
m_dvdplayerIgnoreDTSinWAV = false;
From ca6da5583652fe165d427f85b7a9291ac3665e5d Mon Sep 17 00:00:00 2001
From 884b78280878f6ab25f51f3e0b3ab49376320219 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 11 Dec 2014 17:00:57 +0000
Subject: [PATCH 60/70] Fix for UI not showing both extractflags and
Subject: [PATCH 60/75] Fix for UI not showing both extractflags and
extractthumb
---
@ -6095,10 +6096,10 @@ index dbddcb6..756475f 100644
<control type="toggle" />
</setting>
From 01cce9ccce0e371c3ef5750049ba1428f6935f7c Mon Sep 17 00:00:00 2001
From be43189486ef1b1886d116e8d875d7e1548c6dee Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 26 Jan 2015 19:24:17 +0000
Subject: [PATCH 61/70] Fix for occasinal heap corruption with font cache
Subject: [PATCH 61/75] Fix for occasinal heap corruption with font cache
See: PR 4143 issuecomment-71114810
---
@ -6228,10 +6229,10 @@ index 7d4fc88..4110546 100644
End();
}
From 33e308774f22bc50009dcac0835d1a4dcb5d1183 Mon Sep 17 00:00:00 2001
From 232c2dc0a1a51436a44678437ce55080ff124914 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 4 Feb 2015 22:02:33 +0000
Subject: [PATCH 62/70] [omxplayer] Avoid extra frame allocation when
Subject: [PATCH 62/75] [omxplayer] Avoid extra frame allocation when
deinterlace might be enabled
Requires updated firmware
@ -6267,10 +6268,10 @@ index dea0e11..55e16c4 100644
// When enabled, the timestamp fifo mode will change the way incoming timestamps are associated with output images.
// In this mode the incoming timestamps get used without re-ordering on output images.
From 8ac3d0b6b87f6924c496f34f686bcd8479042307 Mon Sep 17 00:00:00 2001
From 7e18dad8c601498c8d15b2d916b0524716b49f11 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 18 Jan 2015 16:45:51 +0000
Subject: [PATCH 63/70] [rbp] Enable error concealment by default
Subject: [PATCH 63/75] [rbp] Enable error concealment by default
Firmware now supports parsing SEI recovery points meaning streams without
IDR frames don't get discarded completely when error concealment is enabled.
@ -6309,10 +6310,10 @@ index f007f42..9f00cf4 100644
m_karaokeSyncDelayCDG = 0.0f;
m_karaokeSyncDelayLRC = 0.0f;
From c3792a00ff89dda80b2464d2232eb065d13ce00a Mon Sep 17 00:00:00 2001
From feca09cb89fda6814030d0a0a62d92400625bfe0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 26 Jan 2015 17:54:07 +0000
Subject: [PATCH 64/70] [mmalrenderer] Avoid grabbing the g_graphicsContext
Subject: [PATCH 64/75] [mmalrenderer] Avoid grabbing the g_graphicsContext
lock - it can deadlock
---
@ -6340,10 +6341,10 @@ index 6d461bd..11a6f10 100644
if (m_vout)
{
From a55e8814112f3af7f878eb8568de910962dc5631 Mon Sep 17 00:00:00 2001
From 348995898891377b83f550f25fc657d167eecdde Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 15 Feb 2015 14:06:12 +0000
Subject: [PATCH 65/70] [mmal] Use libmpeg2 when mpeg2 codec licence is not
Subject: [PATCH 65/75] [mmal] Use libmpeg2 when mpeg2 codec licence is not
available
---
@ -6374,10 +6375,10 @@ index bea5e4f..e4f59d7 100644
if (hint.stills && (hint.codec == AV_CODEC_ID_MPEG2VIDEO || hint.codec == AV_CODEC_ID_MPEG1VIDEO))
{
From 738fb9b3e81cc7c5c469d20869d0838b21b53990 Mon Sep 17 00:00:00 2001
From 232f0dafea51c319364b314b2e2277429c5bcdd7 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 28 Feb 2015 22:34:52 +0000
Subject: [PATCH 66/70] [mmalrender] Fix for hang on shutdown
Subject: [PATCH 66/75] [mmalrender] Fix for hang on shutdown
mmal_queue_push doesn't allow null pointers, so use a unique packet for signalling quit
---
@ -6429,10 +6430,10 @@ index 8ca0b94..a5c248c 100644
void ReleaseBuffers();
};
From 8f42036c6152931a92aeb8a648f94b2687c2cb79 Mon Sep 17 00:00:00 2001
From 69fa623c46a38f94b8a4e3eabc5cd108bc55b925 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 27 Feb 2015 19:07:17 +0000
Subject: [PATCH 67/70] [omxplayer] Attempt to fix missing subtitles after seek
Subject: [PATCH 67/75] [omxplayer] Attempt to fix missing subtitles after seek
---
xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 2 +-
@ -6452,10 +6453,10 @@ index 77b9461..2a3619f 100644
int buffer = g_renderManager.WaitForBuffer(CThread::m_bStop);
From 9bca0b7b17808aea67a47c030b72d3247cf6dd88 Mon Sep 17 00:00:00 2001
From f12f1a04a761c73ed1bb1fd49caef5246743f5b4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 1 Mar 2015 14:49:12 +0000
Subject: [PATCH 69/70] [omxplayer] Fix for volume being treated as a linear
Subject: [PATCH 69/75] [omxplayer] Fix for volume being treated as a linear
scale
The volume in kodi is actually 0.0=-60dB to 1.0=0dB. omxplayer was treating this as a linear scale.
@ -6481,10 +6482,10 @@ index ef4c3d4..c16ae2e 100644
// the analogue volume is too quiet for some. Allow use of an advancedsetting to boost this (at risk of distortion) (deprecated)
double gain = pow(10, (g_advancedSettings.m_ac3Gain - 12.0f) / 20.0);
From 1d76c863806b2b5d53a32100795d4fbb86269516 Mon Sep 17 00:00:00 2001
From 6da1be424f1c9c115352e2812a96f038bef188c5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 24 Feb 2015 00:09:19 +0000
Subject: [PATCH 70/70] [omxplayer] Limit subtitle updates to 10fps to avoid
Subject: [PATCH 70/75] [omxplayer] Limit subtitle updates to 10fps to avoid
stuttering with closed captions
---
@ -6516,3 +6517,59 @@ index 2a3619f..6ae404df 100644
time += m_av_clock->GetAbsoluteClock();
g_renderManager.FlipPage(CThread::m_bStop, time/DVD_TIME_BASE);
From 2563cbc8489b33d5a1067d439683e41c2d090496 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 17 Mar 2015 20:52:28 +0000
Subject: [PATCH 71/75] [omxplayer] Allow HDMI output to work when unsupported
ALSA card is selected
See: http://forum.kodi.tv/showthread.php?tid=221118&pid=1958062#pid1958062
Basically omxplayer doesn't support ALSA and can only drive HDMI or the analogue output.
In the past users have made use of this fact to effictively get HDMI output for videos, and ALSA output for music.
In some of the code restructuring using omxplayer with ALSA enabled no longer works - you just get errors in the log.
A trivial change allows this to work again
---
xbmc/cores/omxplayer/OMXAudio.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/cores/omxplayer/OMXAudio.cpp b/xbmc/cores/omxplayer/OMXAudio.cpp
index c16ae2e..95db68c 100644
--- a/xbmc/cores/omxplayer/OMXAudio.cpp
+++ b/xbmc/cores/omxplayer/OMXAudio.cpp
@@ -128,7 +128,7 @@ bool COMXAudio::PortSettingsChanged()
if(!m_omx_render_analog.Initialize("OMX.broadcom.audio_render", OMX_IndexParamAudioInit))
return false;
}
- if (CSettings::Get().GetString("audiooutput.audiodevice") == "PI:Both" || CSettings::Get().GetString("audiooutput.audiodevice") == "PI:HDMI")
+ if (CSettings::Get().GetString("audiooutput.audiodevice") == "PI:Both" || CSettings::Get().GetString("audiooutput.audiodevice") != "PI:Analogue")
{
if(!m_omx_render_hdmi.Initialize("OMX.broadcom.audio_render", OMX_IndexParamAudioInit))
return false;
From a960108065b8effd7673c89542392e8ff600c548 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 27 Mar 2015 22:20:39 +0000
Subject: [PATCH 75/75] Revert "[omxplayer] Attempt to fix missing subtitles
after seek"
This reverts commit cb2e41c82fd58fd87ddfd632b847fef5e287b97e.
---
xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/cores/omxplayer/OMXPlayerVideo.cpp b/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
index 6ae404df..028b8cd 100644
--- a/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
+++ b/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
@@ -295,7 +295,7 @@ void OMXPlayerVideo::Output(double pts, bool bDropPacket)
const double preroll = DVD_MSEC_TO_TIME(100);
double media_pts = m_av_clock->OMXMediaTime();
- if (m_nextOverlay != DVD_NOPTS_VALUE && media_pts != 0.0 && media_pts + preroll <= m_nextOverlay)
+ if (m_nextOverlay != DVD_NOPTS_VALUE && media_pts + preroll <= m_nextOverlay)
return;
int buffer = g_renderManager.WaitForBuffer(CThread::m_bStop);

View File

@ -1,7 +1,7 @@
From f23ab1d1d44d079e1b717443fae9d203adb94010 Mon Sep 17 00:00:00 2001
From 632fd2b97fbfa016fe229cf44e6d2a42e8d91edc Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 7 Apr 2014 18:19:32 +0100
Subject: [PATCH 01/70] [rbp/omxplayer] When opening a stream don't try to
Subject: [PATCH 01/75] [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 2b03dcb437676c2c1dd6f3140c35fc59dc25c0fe Mon Sep 17 00:00:00 2001
From 3f4ea17c35b2534740ab625358dc9c3ae1d9059d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 29 Apr 2014 15:23:22 +0100
Subject: [PATCH 02/70] [ffmpeg] Speed up wtv index creation
Subject: [PATCH 02/75] [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 7ab9100836aa39a979f228d1c65c764d6a4a236a Mon Sep 17 00:00:00 2001
From a7d6d41cba0dedb0e3afb819273a995e4706e0aa Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 2 Aug 2014 17:48:04 +0100
Subject: [PATCH 03/70] [omx] Report decoded image name
Subject: [PATCH 03/75] [omx] Report decoded image name
---
xbmc/cores/omxplayer/OMXImage.cpp | 1 +
@ -136,10 +136,10 @@ index aa413b9..22ec3f0 100644
else
{
From b44ea5962fc3c4bf3db0ea0e85f190dea4792a94 Mon Sep 17 00:00:00 2001
From 339d2a6c448685ec177367b4c20bbf2bacfcbf6a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 8 Mar 2014 15:36:06 +0000
Subject: [PATCH 04/70] [hifiberry] Hack: force it to be recognised as IEC958
Subject: [PATCH 04/75] [hifiberry] Hack: force it to be recognised as IEC958
capable to enable passthrough options
---
@ -162,10 +162,10 @@ index df50940..2d853d6 100644
info.m_displayName.substr(info.m_displayName.size()-5) == " HDMI")
{
From 8fcc5ff411027c181debffdb187e8c43f165c7d7 Mon Sep 17 00:00:00 2001
From 9f045eb959a0cc511c83fb527bcbef0507a64964 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/70] Move the reference-counting of Begin and End calls from
Subject: [PATCH 05/75] 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 0ab1240b777cd494c035f444d989b592050e1633 Mon Sep 17 00:00:00 2001
From ad4929367028c6111ce1117070fcb99f3cce9aac 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/70] Convert CGUIFontTTFBase::m_vertex to be managed as a
Subject: [PATCH 06/75] 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 4723d7e5623eba5b742fcb03a5ba3cd1f11c19f7 Mon Sep 17 00:00:00 2001
From 14b9fe8b9a25ec2f6c016bc68d00d33a775ff420 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/70] CGUIFontTTFBase::RenderCharacter can now append to
Subject: [PATCH 07/75] 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 9ed78d0a66024e5a9089453beeb3cebc3d0eef77 Mon Sep 17 00:00:00 2001
From d8c252f045dee39e64df00abc4d54a4b5e7b9fcf 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/70] Add a cache of font glyph bounding box vertices.
Subject: [PATCH 08/75] 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
@ -1575,10 +1575,10 @@ index f351c99..9036ba9 100644
+ return !operator==(a, b);
+}
From e4bbc736884bd365ad96164a2f7876a6f3d87b1a Mon Sep 17 00:00:00 2001
From 824d5347910e00b9e0c44deffaff4d2b6db6bca3 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/70] Lay the groundwork for hardware clipping.
Subject: [PATCH 09/75] 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 +1840,10 @@ index 98e398a..81ee49e 100644
virtual void ResetScissors();
From 70e40bccbc6544aab22794e444b7d977646b8cbb Mon Sep 17 00:00:00 2001
From b201e727e19af94c6d58528ebcd5960baafee499 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/70] Increase font cache hit rate by keying on the
Subject: [PATCH 10/75] 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 +2044,10 @@ index 3b93672..258dffa 100644
private:
virtual bool FirstBegin() = 0;
From adf68d8d211269893bb578d05ac512ea3977f4ca Mon Sep 17 00:00:00 2001
From 818067e098f2b2f0fe8c816775646eef96f3b7b9 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/70] Rewrite of scrolling text code.
Subject: [PATCH 11/75] 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 +2363,10 @@ index 2cda726..fbc579e 100644
private:
void Process();
From fe43cfbba06400515c04e40d3417acc53d858aea Mon Sep 17 00:00:00 2001
From 92fa695abd21992829758d5978f98f81ea99a3c5 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/70] Move the application of the translation offsets into
Subject: [PATCH 12/75] 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 +2560,10 @@ index 9935ea4..18c9358 100644
memset(newTexture->GetPixels(), 0, m_textureHeight * newTexture->GetPitch());
if (m_texture)
From 1b8a082fd54c36fa595026505eaa78a4c5993f46 Mon Sep 17 00:00:00 2001
From 81abd97bf3d135acc7be29f201ea53657c7727d2 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/70] Rather than applying the translation offsets to the
Subject: [PATCH 13/75] 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 +2707,10 @@ index 81ee49e..d2f9cd1 100644
protected:
virtual void SetVSyncImpl(bool enable) = 0;
From 40534da563b7a9699efc30fd1a35acef503a11cc Mon Sep 17 00:00:00 2001
From 0112e23ceb86275743bb929c50db98928a7c635b 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/70] Enable hardware clipping.
Subject: [PATCH 14/75] Enable hardware clipping.
---
xbmc/guilib/GUIFontTTF.cpp | 4 ++--
@ -2782,10 +2782,10 @@ index ea08bf4..b63e337 100644
glUniformMatrix4fv(modelLoc, 1, GL_FALSE, g_matrices.GetMatrix(MM_MODELVIEW));
}
From 55f8c6fdadbf0b246593fb694bc95ae0e2fb29db Mon Sep 17 00:00:00 2001
From 7a633290e3614e6ff0d073e2653e080d5e2ac8fd 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/70] Move the vertex data across to a vertex buffer object
Subject: [PATCH 15/75] Move the vertex data across to a vertex buffer object
just prior to drawing.
---
@ -2836,10 +2836,10 @@ index b63e337..b00055d 100644
// Disable the attributes used by this shader
From 55b8c1c91af0441c4d4cd59db0706a211622dbf9 Mon Sep 17 00:00:00 2001
From 243c446cdb97ab29e1a75b70c244ad5b741dce57 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/70] Move vertex data into an OpenGL VBO when the font cache
Subject: [PATCH 16/75] 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 +3112,10 @@ index 735fb3a..6102c90 100644
protected:
virtual CBaseTexture* ReallocTexture(unsigned int& newHeight);
From 1365ecfe3c2cdc4681407212ac7bd3839e8975fd Mon Sep 17 00:00:00 2001
From 2c1526c28ea480fdf884904a4e21db9ad514855b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 1 Nov 2014 22:15:13 +0000
Subject: [PATCH 17/70] Switch from glDrawArrays() to glDrawElements().
Subject: [PATCH 17/75] 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 +3336,10 @@ index 2bdd4fa..68f0117 100644
if (m_display != EGL_NO_DISPLAY)
From 952f238a4b3a64374b9bcc1fd029897467cfd488 Mon Sep 17 00:00:00 2001
From 0581bdecd8c045559dcf682ea7e4bbd5a7849653 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/70] Improved file buffering in CArchive
Subject: [PATCH 18/75] 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 +3399,10 @@ index 6ed0f8f..8506d95 100644
}
else
From ca404a7c613e1a15e997e823fca3cea95e54f108 Mon Sep 17 00:00:00 2001
From 0dc98aba1e8c9bf8d63bcd12bbc18a5a6021231f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 10 Sep 2014 22:07:21 +0100
Subject: [PATCH 19/70] [mmal] Allow mmal codec for dvd stills
Subject: [PATCH 19/75] [mmal] Allow mmal codec for dvd stills
---
xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.cpp | 4 ++++
@ -3424,10 +3424,10 @@ index 10648c5..bea5e4f 100644
{
// If dvd is an mpeg2 and hint.stills
From c1b141b498099569d3a38b1cb241eadf9483d834 Mon Sep 17 00:00:00 2001
From d46182be867dae3e4405be4558275250f87ea3c5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 12 Aug 2014 00:31:36 +0100
Subject: [PATCH 20/70] [omxcodec] Don't force software codec with dvds
Subject: [PATCH 20/75] [omxcodec] Don't force software codec with dvds
---
xbmc/cores/dvdplayer/DVDPlayer.cpp | 2 ++
@ -3448,10 +3448,10 @@ index aae59dc..12a3ed6 100644
CDVDInputStream::IMenus* pMenus = dynamic_cast<CDVDInputStream::IMenus*>(m_pInputStream);
From acd3b3135253ba279eef701b7e78e077b84b3c51 Mon Sep 17 00:00:00 2001
From 7026b367733a3529f98c3ccb56b16adb6324d320 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 16 Apr 2014 21:18:06 +0100
Subject: [PATCH 21/70] [omxplayer] Don't propagate 3d flags based on supported
Subject: [PATCH 21/75] [omxplayer] Don't propagate 3d flags based on supported
3d modes
---
@ -3504,10 +3504,10 @@ index ac838ce..605318c9 100644
unsigned int iDisplayWidth = width;
unsigned int iDisplayHeight = height;
From 9eec9bf72bc0132ea9630accead9892d45bcdac6 Mon Sep 17 00:00:00 2001
From 9b5da40db6647d40a2c17ab957a3058622472898 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:00:52 +0100
Subject: [PATCH 22/70] [graphics] Don't set stereo mode based on resolution
Subject: [PATCH 22/75] [graphics] Don't set stereo mode based on resolution
The resolution change should follow stereo mode
---
@ -3565,10 +3565,10 @@ index 3cb5587..fe6ebf4 100644
m_iScreenWidth = info_mod.iWidth;
From 84b46a4d301d631685fadec52a9eee5531a6f204 Mon Sep 17 00:00:00 2001
From 47fab3f66ff687e42456d0ae5f94dd5df359285e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:01:51 +0100
Subject: [PATCH 23/70] [graphics] Allow switching to a more suitable 3D
Subject: [PATCH 23/75] [graphics] Allow switching to a more suitable 3D
resolution
---
@ -3654,10 +3654,10 @@ index 2904c1b..8d3774f 100644
void ResetOverscan(RESOLUTION_INFO &resinfo);
void ResetScreenParameters(RESOLUTION res);
From 02dbdbba04d356097e1c41bc3a0bde3d275cf5e3 Mon Sep 17 00:00:00 2001
From d5838e37d76f6a0e7054d7e9cbb7beab41b2f63b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Apr 2014 13:38:55 +0100
Subject: [PATCH 24/70] [3D] Support switching to 3D resolutions
Subject: [PATCH 24/75] [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 +3739,10 @@ index 83c3adb..8076e76 100644
return current;
}
From 774a335c727687600693ff058aed8ea6bd28b867 Mon Sep 17 00:00:00 2001
From e397abe59fbddcaf141d261855278cb6048e136f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 23 Apr 2014 00:05:07 +0100
Subject: [PATCH 25/70] [graphics] Make pixel ratio for 3d modes consistent
Subject: [PATCH 25/75] [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 +3945,10 @@ index c58c28a..bf1e589 100644
AddUniqueResolution(res2, resolutions);
From 737c86fa8cea517c5eb678aadc28cd5abe58a15b Mon Sep 17 00:00:00 2001
From 00d11452657c179a50e9754838753b4dd1e3742e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 10 Aug 2014 16:45:16 +0100
Subject: [PATCH 26/70] filesystem: Make support of browsing into archives
Subject: [PATCH 26/75] 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.
@ -4047,10 +4047,10 @@ index 2fd8777..3b294cd 100644
{ // XBMC Smart playlist - just XML renamed to XSP
// read the name of the playlist in
From b256e34e5811f7483464ba8ff9bf0ec15d47b68f Mon Sep 17 00:00:00 2001
From 7d1f22e56a754a0723d7245baf7505665e0bebeb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 27 Oct 2014 13:06:57 +0000
Subject: [PATCH 28/70] [rbp] Make cachemembuffersize default depend on memory
Subject: [PATCH 28/75] [rbp] Make cachemembuffersize default depend on memory
size
---
@ -4106,10 +4106,11 @@ index a1b68b5..e9cd63a 100644
// the following setting determines the readRate of a player data
// as multiply of the default data read rate
From a8bfa72200c62f3d1c0fc0ac7f211ad4d837eb6c Mon Sep 17 00:00:00 2001
From 62ecc2e30e189aedac46f4be65186803bfa82f18 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 16 Jun 2014 19:06:00 +0100
Subject: [PATCH 30/70] [experimental] Disable quiet-noise generation
Subject: [PATCH 30/75] [experimental] Disable quiet-noise generation
---
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp | 2 ++
@ -4136,10 +4137,10 @@ index b391ff3..463a89c 100644
void CActiveAESink::SetSilenceTimer()
From 9b94b2b1cb9c1bab31c899c634cc45e6e1cd7150 Mon Sep 17 00:00:00 2001
From 009d4c64318bcdc5e032fa0b7cee597b5a681d54 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 30 May 2014 14:58:43 +0100
Subject: [PATCH 31/70] [settings] Experiment: Report DESKTOP resolution in
Subject: [PATCH 31/75] [settings] Experiment: Report DESKTOP resolution in
video settings
---
@ -4161,10 +4162,10 @@ index 6902f83..50c5f97 100644
StringUtils::Format("%dx%d%s", resolution->width, resolution->height,
ModeFlagsToString(resolution->flags, false).c_str()),
From 795fb5aea08500fc3d94e0054f5699b66f040417 Mon Sep 17 00:00:00 2001
From 725c75575238ea8e0de9eba52323dd9a391ac355 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 16 Aug 2014 21:01:42 +0100
Subject: [PATCH 32/70] omxrender: Hacks to reduce GUI rendering rate when
Subject: [PATCH 32/75] omxrender: Hacks to reduce GUI rendering rate when
playing video
---
@ -4264,10 +4265,10 @@ index 5425322..1df2418 100644
int vsync_mode = CSettings::Get().GetInt("videoscreen.vsync");
From f6f7d1ce0a3fc97bf05a395842e72cbf5058284d Mon Sep 17 00:00:00 2001
From a284f50bd2047bc50af73aa75a44020dfa3cde42 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 9 Sep 2014 12:04:26 +0100
Subject: [PATCH 33/70] egl: Treat unknown display aspect ratio as square pixel
Subject: [PATCH 33/75] egl: Treat unknown display aspect ratio as square pixel
---
xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp | 4 ++--
@ -4296,10 +4297,10 @@ index bf1e589..a25eb86 100644
SetResolutionString(m_desktopRes);
From 89971ac3e1976bc64e4a36d9272a0d5c2605ec37 Mon Sep 17 00:00:00 2001
From 212072cd72b7b11e45fe2582a2f442edf889f55c Mon Sep 17 00:00:00 2001
From: anaconda <anaconda@menakite.eu>
Date: Thu, 11 Sep 2014 21:30:43 +0200
Subject: [PATCH 34/70] Disable textbox autoscrolling while on screensaver.
Subject: [PATCH 34/75] Disable textbox autoscrolling while on screensaver.
SQUASH: only if dim or black
---
@ -4360,10 +4361,10 @@ index c0e2fa5..0eca360 100644
if (m_lastRenderTime)
m_autoScrollDelayTime += currentTime - m_lastRenderTime;
From 58c6c18ccabc7d4c9d28f2dc1acaa50ce5dfdd2e Mon Sep 17 00:00:00 2001
From 3220e1f7f63c9d9d4b50088a6f8627770658a582 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 18 Sep 2014 14:24:56 +0100
Subject: [PATCH 35/70] [omxplayer] Only enable audio clock master when A/V
Subject: [PATCH 35/75] [omxplayer] Only enable audio clock master when A/V
sync method is set to audio clock
---
@ -4394,10 +4395,10 @@ index 5475570..7c07b57 100644
OMX_CONFIG_BOOLEANTYPE configBool;
OMX_INIT_STRUCTURE(configBool);
From de6cb2bf5543ce802cfb65b12d73ed2b533bf51b Mon Sep 17 00:00:00 2001
From 222992a4992f1eee0e343b072b59b7680d46162b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 19 Sep 2014 11:54:49 +0100
Subject: [PATCH 36/70] [dvdplayer/rbp] Add pi specific option to maintain
Subject: [PATCH 36/75] [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".
@ -4596,10 +4597,10 @@ index 4fd18f3..6456657 100644
private:
DllBcmHost *m_DllBcmHost;
From 0e1439f9c66df9f115aa4532858fae7b0af02516 Mon Sep 17 00:00:00 2001
From 29a77a2507e861a52bec8c00547c566803610109 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 27 Sep 2014 15:32:37 +0100
Subject: [PATCH 37/70] [dvdplayer] exerimental: don't raise priority of audio
Subject: [PATCH 37/75] [dvdplayer] exerimental: don't raise priority of audio
thread
---
@ -4623,10 +4624,10 @@ index 12a3ed6..cb512ed 100644
}
From 1fbb557dfc468855702ac1522b3b683a655ddd62 Mon Sep 17 00:00:00 2001
From eedd135d8bb82fdd8bdc965513beb2dc3e62c66e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 28 Sep 2014 19:28:17 +0100
Subject: [PATCH 38/70] [mmalcodec] Introduce a preroll period to buffer up
Subject: [PATCH 38/75] [mmalcodec] Introduce a preroll period to buffer up
frames on startup
---
@ -4759,10 +4760,10 @@ index b4aa571..4f81bbd 100644
MMAL_COMPONENT_T *m_dec;
MMAL_PORT_T *m_dec_input;
From a006bd88df683664061e3a0363ffc67bee7f8a80 Mon Sep 17 00:00:00 2001
From 84916f93b7d3c7a740a4669c3d36f3314a773b54 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 24 Sep 2014 23:13:52 +0100
Subject: [PATCH 39/70] [audio] Add settings option to boost centre channel
Subject: [PATCH 39/75] [audio] Add settings option to boost centre channel
when downmixing
This allows a dB volume increase to be added to centre channel.
@ -4885,10 +4886,10 @@ index 7c07b57..ef4c3d4 100644
// stereo upmix
if (upmix && m_src_channels == 2 && m_dst_channels > 2)
From 157655e392db3920cb16538a0bd07a369abe1e25 Mon Sep 17 00:00:00 2001
From 138475ea18c50ffb151d83b4498065f6fd177a4c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 3 Oct 2014 18:38:07 +0100
Subject: [PATCH 40/70] [omxcore] Skip out of flush on error
Subject: [PATCH 40/75] [omxcore] Skip out of flush on error
---
xbmc/linux/OMXCore.cpp | 4 ++--
@ -4917,10 +4918,10 @@ index 4ae29ba..4caa304 100644
OMX_ERRORTYPE omx_err = OMX_ErrorNone;
From 2e472e101e5696bf7d91719fb4bcfbee9ac58858 Mon Sep 17 00:00:00 2001
From 02de40bac468886dcb16dbbfc6175a1d7167ffb3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 3 Oct 2014 18:40:06 +0100
Subject: [PATCH 41/70] [SinkPi] Handle multichannel layout more like OMXAudio
Subject: [PATCH 41/75] [SinkPi] Handle multichannel layout more like OMXAudio
---
xbmc/cores/AudioEngine/Sinks/AESinkPi.cpp | 14 +++++++-------
@ -4979,10 +4980,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 50321a75fe06b74f1b426d1a36b8dbbf3f72aff6 Mon Sep 17 00:00:00 2001
From 960a504f649cd7b044244c57baad37ed51e0254a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 27 Oct 2014 15:23:51 +0000
Subject: [PATCH 42/70] [rbp] Default extract thumbnails to false
Subject: [PATCH 42/75] [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
@ -5012,10 +5013,10 @@ index 79853a8..4c2ef41 100644
<section id="system">
From e0269eea6896873e9c63ce9b8a76a6b01ede714a Mon Sep 17 00:00:00 2001
From 23830676efe433f73e747f68bebbea710bbeb88e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 11 Nov 2014 18:14:23 +0000
Subject: [PATCH 43/70] [resamplepi] Try to report the same numbers as ffmpeg
Subject: [PATCH 43/75] [resamplepi] Try to report the same numbers as ffmpeg
---
.../cores/AudioEngine/Engines/ActiveAE/ActiveAEResamplePi.cpp | 11 ++++++-----
@ -5066,10 +5067,10 @@ index 84505bf..2b5bef2 100644
CLog::Log(LOGINFO, "%s::%s = %d", CLASSNAME, __func__, ret);
#endif
From 368df3526a36d1f2fc1ba6baa25aa2dc8468827e Mon Sep 17 00:00:00 2001
From dff457e218d695b32a4ad362e9cd96595e677fd4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 11 Nov 2014 20:49:30 +0000
Subject: [PATCH 44/70] [dvdplayer] New scheme for PLL adjustment for video
Subject: [PATCH 44/75] [dvdplayer] New scheme for PLL adjustment for video
clock
---
@ -5184,10 +5185,10 @@ index 02c64a0..37bf4bd 100644
struct SInfo
{
From 5733df427b0c90a7f22397b27fac42bc083d7463 Mon Sep 17 00:00:00 2001
From 063facdddb659360288c377eb4a11aa25427ac74 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 15 Nov 2014 12:03:34 +0000
Subject: [PATCH 45/70] [dvdplayer] Add lock for player creation
Subject: [PATCH 45/75] [dvdplayer] Add lock for player creation
---
xbmc/cores/dvdplayer/DVDPlayer.cpp | 3 +++
@ -5233,10 +5234,10 @@ index ef64076..7ea6ea6 100644
+ CCriticalSection m_players_lock;
};
From 6c788dd7eab7a682c169f33c3901d83ceb1fb29e Mon Sep 17 00:00:00 2001
From ec8eebaab2cbc09a09f6435d51cfdf946368a2a3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 19 Nov 2014 13:29:43 +0000
Subject: [PATCH 46/70] [dvdplayeraudio] Add advancedsetting for configuring
Subject: [PATCH 46/75] [dvdplayeraudio] Add advancedsetting for configuring
max pll adjustment
---
@ -5305,10 +5306,10 @@ index ed91aba..eccc62f 100644
float m_audioPlayCountMinimumPercent;
bool m_dvdplayerIgnoreDTSinWAV;
From 6ccc5b5928d4efb027ac882a079e06452a3e4a62 Mon Sep 17 00:00:00 2001
From 7f6ceceb2f69718018c768a6bdad004b8d8cbb88 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 19 Nov 2014 17:35:44 +0000
Subject: [PATCH 47/70] [mmalrender] Skip some log message in bypass mode
Subject: [PATCH 47/75] [mmalrender] Skip some log message in bypass mode
---
xbmc/cores/VideoRenderers/MMALRenderer.cpp | 9 ++++++---
@ -5346,10 +5347,10 @@ index 03a05de..c0ff30d 100644
// we only want to upload frames once
if (buffer->flipindex++)
From a0087556e4393eb2281fe45e20ed6d4f92873a53 Mon Sep 17 00:00:00 2001
From e1b8916187049e731b79ea1550b1d2bd393f4014 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 24 Nov 2014 21:24:25 +0000
Subject: [PATCH 48/70] [mmalcodec] Avoid deinterlace for dvd menus for now
Subject: [PATCH 48/75] [mmalcodec] Avoid deinterlace for dvd menus for now
---
xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp | 2 +-
@ -5369,10 +5370,10 @@ index 6742e0e..a1f11e9 100644
else if (deinterlace_request == VS_DEINTERLACEMODE_FORCE)
deinterlace = true;
From 5314915973ad089039857bbbdaed9d9ce6102bf2 Mon Sep 17 00:00:00 2001
From be0e902ee3257fb5a3ffc27cdeecad337b506c30 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 24 Nov 2014 22:07:25 +0000
Subject: [PATCH 49/70] [dvdplayervideo] Prod decoder when in stills mode
Subject: [PATCH 49/75] [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.
@ -5449,10 +5450,10 @@ index f030e37..7a8fc10 100644
if (pMsg->IsType(CDVDMsg::GENERAL_SYNCHRONIZE))
From cae97c009e68fdd87b4149244a2487e9dbccda70 Mon Sep 17 00:00:00 2001
From bb7e171804ee58a781715cce47c51fd53614c667 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 16:20:56 +0000
Subject: [PATCH 50/70] [mmalcodec] Skip some setup that is not required when
Subject: [PATCH 50/75] [mmalcodec] Skip some setup that is not required when
closing
---
@ -5519,10 +5520,10 @@ index a1f11e9..a11fa65 100644
m_startframe = false;
m_decoderPts = DVD_NOPTS_VALUE;
From ded576e27b601453c76b98d7ba21f6dd124e0e84 Mon Sep 17 00:00:00 2001
From 5930f4130c9d65fd93e58e2e4982948d2040f52f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 16:31:56 +0000
Subject: [PATCH 51/70] [languageinvoker] Reduce priority of python threads
Subject: [PATCH 51/75] [languageinvoker] Reduce priority of python threads
---
xbmc/interfaces/generic/LanguageInvokerThread.cpp | 5 +++++
@ -5545,10 +5546,10 @@ index 7b0d903..f92aa3e 100644
}
From 679e8af531617428188543b30c881c1eac657c94 Mon Sep 17 00:00:00 2001
From cf8ad14e8e9035e4d29ca3e1b34c87a736418de0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 27 Nov 2014 17:53:46 +0000
Subject: [PATCH 52/70] [mmalcodec] Try reducing number of video frames
Subject: [PATCH 52/75] [mmalcodec] Try reducing number of video frames
---
xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp | 2 +-
@ -5582,10 +5583,10 @@ index 4f81bbd..79a4bfd 100644
virtual const char* GetName(void) { return (const char*)m_pFormatName; }
virtual bool GetCodecStats(double &pts, int &droppedPics);
From eb3172760a433f4207a9868091494f16e5093dfb Mon Sep 17 00:00:00 2001
From 8674e33d70b70cbdddb884150f9367913281c822 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 1 Dec 2014 17:31:00 +0000
Subject: [PATCH 53/70] [mmalcodec] Ensure we have requested number of buffers
Subject: [PATCH 53/75] [mmalcodec] Ensure we have requested number of buffers
in non-accelerated case
---
@ -5606,10 +5607,10 @@ index c0ff30d..6d461bd 100644
status = mmal_port_enable(m_vout_input, vout_input_port_cb_static);
From ce9325f77e17bcc4f54c2d5b34bcdf6a3c05cf51 Mon Sep 17 00:00:00 2001
From 9f8efa4d26372a517b28da10b46e761efb08fd82 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Dec 2014 21:17:53 +0000
Subject: [PATCH 54/70] [omxplayer] Add some info about hdmi sync to codec
Subject: [PATCH 54/75] [omxplayer] Add some info about hdmi sync to codec
overlay
---
@ -5690,10 +5691,10 @@ index c8fd5fb..9f26427 100644
bool IsEOS();
bool SubmittedEOS() const { return m_submitted_eos; }
From fd196da51291f5254b181fd6c8e7947e053fe748 Mon Sep 17 00:00:00 2001
From c3220a3ed4bf509aa691979a3e341574eb2b940b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 7 Dec 2014 15:21:18 +0000
Subject: [PATCH 55/70] [omxplayer] Remove test of removed setting, avoids a
Subject: [PATCH 55/75] [omxplayer] Remove test of removed setting, avoids a
log message
---
@ -5726,10 +5727,10 @@ index 66014d4..c2da2d2 100644
dataFormat = AE_FMT_DTS;
m_passthrough = true;
From a348dac928288c978ebcad6999f913f652f660f8 Mon Sep 17 00:00:00 2001
From 38648532ae2482c5923009a8085665d721630b6d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 28 Dec 2014 19:13:51 +0000
Subject: [PATCH 56/70] [omxplayer] Skip packet concatenation for WMAV2 files
Subject: [PATCH 56/75] [omxplayer] Skip packet concatenation for WMAV2 files
See: http://forum.kodi.tv/showthread.php?tid=212552
---
@ -5752,10 +5753,10 @@ index 94b673e..1a920f7 100644
if(m_pCodecContext->bits_per_coded_sample == 0)
From c405f16c5a6c06c8e7616acf5d5c4b61362bdfc0 Mon Sep 17 00:00:00 2001
From a10151bb193d6c832c1700be0bbabedae32f8b80 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 31 Dec 2014 17:08:52 +0000
Subject: [PATCH 57/70] filesystem: Make browsing into archives enbabled by
Subject: [PATCH 57/75] filesystem: Make browsing into archives enbabled by
default on Pi
This causes issues for people who scan library with archives disabled, then subsequently enable it.
@ -5787,10 +5788,10 @@ index 4c2ef41..3260465 100644
<category id="videoplayer" label="14086" help="36151">
<group id="2">
From fdf578ad886aeabfccb4376a2a8e9cc9e1b71f10 Mon Sep 17 00:00:00 2001
From 1b25d3a54d15b90d76dcbcdceebb719ea18c24a3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 31 Dec 2014 16:03:32 +0000
Subject: [PATCH 58/70] [PVR] Fix for slow metadata updates of recordings
Subject: [PATCH 58/75] [PVR] Fix for slow metadata updates of recordings
See: http://forum.kodi.tv/showthread.php?tid=210774
@ -5978,10 +5979,10 @@ index 6b8cb14..2bcc834 100644
int Load();
void Unload();
From 74b410774cb450e63a7852187dac4a5c789eb4d8 Mon Sep 17 00:00:00 2001
From 1da99439c1b3502111974ddce6f033b9d59675a0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 29 Dec 2014 17:20:00 +0000
Subject: [PATCH 59/70] [dvdplayer] Allow pll adjustment to go higher, but tail
Subject: [PATCH 59/75] [dvdplayer] Allow pll adjustment to go higher, but tail
off more gradually
---
@ -6016,10 +6017,10 @@ index 3a266f8..f007f42 100644
m_dvdplayerIgnoreDTSinWAV = false;
From ca6da5583652fe165d427f85b7a9291ac3665e5d Mon Sep 17 00:00:00 2001
From 884b78280878f6ab25f51f3e0b3ab49376320219 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 11 Dec 2014 17:00:57 +0000
Subject: [PATCH 60/70] Fix for UI not showing both extractflags and
Subject: [PATCH 60/75] Fix for UI not showing both extractflags and
extractthumb
---
@ -6095,10 +6096,10 @@ index dbddcb6..756475f 100644
<control type="toggle" />
</setting>
From 01cce9ccce0e371c3ef5750049ba1428f6935f7c Mon Sep 17 00:00:00 2001
From be43189486ef1b1886d116e8d875d7e1548c6dee Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 26 Jan 2015 19:24:17 +0000
Subject: [PATCH 61/70] Fix for occasinal heap corruption with font cache
Subject: [PATCH 61/75] Fix for occasinal heap corruption with font cache
See: PR 4143 issuecomment-71114810
---
@ -6228,10 +6229,10 @@ index 7d4fc88..4110546 100644
End();
}
From 33e308774f22bc50009dcac0835d1a4dcb5d1183 Mon Sep 17 00:00:00 2001
From 232c2dc0a1a51436a44678437ce55080ff124914 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 4 Feb 2015 22:02:33 +0000
Subject: [PATCH 62/70] [omxplayer] Avoid extra frame allocation when
Subject: [PATCH 62/75] [omxplayer] Avoid extra frame allocation when
deinterlace might be enabled
Requires updated firmware
@ -6267,10 +6268,10 @@ index dea0e11..55e16c4 100644
// When enabled, the timestamp fifo mode will change the way incoming timestamps are associated with output images.
// In this mode the incoming timestamps get used without re-ordering on output images.
From 8ac3d0b6b87f6924c496f34f686bcd8479042307 Mon Sep 17 00:00:00 2001
From 7e18dad8c601498c8d15b2d916b0524716b49f11 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 18 Jan 2015 16:45:51 +0000
Subject: [PATCH 63/70] [rbp] Enable error concealment by default
Subject: [PATCH 63/75] [rbp] Enable error concealment by default
Firmware now supports parsing SEI recovery points meaning streams without
IDR frames don't get discarded completely when error concealment is enabled.
@ -6309,10 +6310,10 @@ index f007f42..9f00cf4 100644
m_karaokeSyncDelayCDG = 0.0f;
m_karaokeSyncDelayLRC = 0.0f;
From c3792a00ff89dda80b2464d2232eb065d13ce00a Mon Sep 17 00:00:00 2001
From feca09cb89fda6814030d0a0a62d92400625bfe0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 26 Jan 2015 17:54:07 +0000
Subject: [PATCH 64/70] [mmalrenderer] Avoid grabbing the g_graphicsContext
Subject: [PATCH 64/75] [mmalrenderer] Avoid grabbing the g_graphicsContext
lock - it can deadlock
---
@ -6340,10 +6341,10 @@ index 6d461bd..11a6f10 100644
if (m_vout)
{
From a55e8814112f3af7f878eb8568de910962dc5631 Mon Sep 17 00:00:00 2001
From 348995898891377b83f550f25fc657d167eecdde Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 15 Feb 2015 14:06:12 +0000
Subject: [PATCH 65/70] [mmal] Use libmpeg2 when mpeg2 codec licence is not
Subject: [PATCH 65/75] [mmal] Use libmpeg2 when mpeg2 codec licence is not
available
---
@ -6374,10 +6375,10 @@ index bea5e4f..e4f59d7 100644
if (hint.stills && (hint.codec == AV_CODEC_ID_MPEG2VIDEO || hint.codec == AV_CODEC_ID_MPEG1VIDEO))
{
From 738fb9b3e81cc7c5c469d20869d0838b21b53990 Mon Sep 17 00:00:00 2001
From 232f0dafea51c319364b314b2e2277429c5bcdd7 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 28 Feb 2015 22:34:52 +0000
Subject: [PATCH 66/70] [mmalrender] Fix for hang on shutdown
Subject: [PATCH 66/75] [mmalrender] Fix for hang on shutdown
mmal_queue_push doesn't allow null pointers, so use a unique packet for signalling quit
---
@ -6429,10 +6430,10 @@ index 8ca0b94..a5c248c 100644
void ReleaseBuffers();
};
From 8f42036c6152931a92aeb8a648f94b2687c2cb79 Mon Sep 17 00:00:00 2001
From 69fa623c46a38f94b8a4e3eabc5cd108bc55b925 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 27 Feb 2015 19:07:17 +0000
Subject: [PATCH 67/70] [omxplayer] Attempt to fix missing subtitles after seek
Subject: [PATCH 67/75] [omxplayer] Attempt to fix missing subtitles after seek
---
xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 2 +-
@ -6452,10 +6453,10 @@ index 77b9461..2a3619f 100644
int buffer = g_renderManager.WaitForBuffer(CThread::m_bStop);
From 9bca0b7b17808aea67a47c030b72d3247cf6dd88 Mon Sep 17 00:00:00 2001
From f12f1a04a761c73ed1bb1fd49caef5246743f5b4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 1 Mar 2015 14:49:12 +0000
Subject: [PATCH 69/70] [omxplayer] Fix for volume being treated as a linear
Subject: [PATCH 69/75] [omxplayer] Fix for volume being treated as a linear
scale
The volume in kodi is actually 0.0=-60dB to 1.0=0dB. omxplayer was treating this as a linear scale.
@ -6481,10 +6482,10 @@ index ef4c3d4..c16ae2e 100644
// the analogue volume is too quiet for some. Allow use of an advancedsetting to boost this (at risk of distortion) (deprecated)
double gain = pow(10, (g_advancedSettings.m_ac3Gain - 12.0f) / 20.0);
From 1d76c863806b2b5d53a32100795d4fbb86269516 Mon Sep 17 00:00:00 2001
From 6da1be424f1c9c115352e2812a96f038bef188c5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 24 Feb 2015 00:09:19 +0000
Subject: [PATCH 70/70] [omxplayer] Limit subtitle updates to 10fps to avoid
Subject: [PATCH 70/75] [omxplayer] Limit subtitle updates to 10fps to avoid
stuttering with closed captions
---
@ -6516,3 +6517,59 @@ index 2a3619f..6ae404df 100644
time += m_av_clock->GetAbsoluteClock();
g_renderManager.FlipPage(CThread::m_bStop, time/DVD_TIME_BASE);
From 2563cbc8489b33d5a1067d439683e41c2d090496 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 17 Mar 2015 20:52:28 +0000
Subject: [PATCH 71/75] [omxplayer] Allow HDMI output to work when unsupported
ALSA card is selected
See: http://forum.kodi.tv/showthread.php?tid=221118&pid=1958062#pid1958062
Basically omxplayer doesn't support ALSA and can only drive HDMI or the analogue output.
In the past users have made use of this fact to effictively get HDMI output for videos, and ALSA output for music.
In some of the code restructuring using omxplayer with ALSA enabled no longer works - you just get errors in the log.
A trivial change allows this to work again
---
xbmc/cores/omxplayer/OMXAudio.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/cores/omxplayer/OMXAudio.cpp b/xbmc/cores/omxplayer/OMXAudio.cpp
index c16ae2e..95db68c 100644
--- a/xbmc/cores/omxplayer/OMXAudio.cpp
+++ b/xbmc/cores/omxplayer/OMXAudio.cpp
@@ -128,7 +128,7 @@ bool COMXAudio::PortSettingsChanged()
if(!m_omx_render_analog.Initialize("OMX.broadcom.audio_render", OMX_IndexParamAudioInit))
return false;
}
- if (CSettings::Get().GetString("audiooutput.audiodevice") == "PI:Both" || CSettings::Get().GetString("audiooutput.audiodevice") == "PI:HDMI")
+ if (CSettings::Get().GetString("audiooutput.audiodevice") == "PI:Both" || CSettings::Get().GetString("audiooutput.audiodevice") != "PI:Analogue")
{
if(!m_omx_render_hdmi.Initialize("OMX.broadcom.audio_render", OMX_IndexParamAudioInit))
return false;
From a960108065b8effd7673c89542392e8ff600c548 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 27 Mar 2015 22:20:39 +0000
Subject: [PATCH 75/75] Revert "[omxplayer] Attempt to fix missing subtitles
after seek"
This reverts commit cb2e41c82fd58fd87ddfd632b847fef5e287b97e.
---
xbmc/cores/omxplayer/OMXPlayerVideo.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/cores/omxplayer/OMXPlayerVideo.cpp b/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
index 6ae404df..028b8cd 100644
--- a/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
+++ b/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
@@ -295,7 +295,7 @@ void OMXPlayerVideo::Output(double pts, bool bDropPacket)
const double preroll = DVD_MSEC_TO_TIME(100);
double media_pts = m_av_clock->OMXMediaTime();
- if (m_nextOverlay != DVD_NOPTS_VALUE && media_pts != 0.0 && media_pts + preroll <= m_nextOverlay)
+ if (m_nextOverlay != DVD_NOPTS_VALUE && media_pts + preroll <= m_nextOverlay)
return;
int buffer = g_renderManager.WaitForBuffer(CThread::m_bStop);