diff --git a/projects/WeTek_Play/patches/kodi/0001-Fix-ALSA-sound-output-for-Amlogic-based-devices.patch b/projects/WeTek_Play/patches/kodi/0001-Fix-ALSA-sound-output-for-Amlogic-based-devices.patch index d5705a4f69..fb851d1268 100644 --- a/projects/WeTek_Play/patches/kodi/0001-Fix-ALSA-sound-output-for-Amlogic-based-devices.patch +++ b/projects/WeTek_Play/patches/kodi/0001-Fix-ALSA-sound-output-for-Amlogic-based-devices.patch @@ -1,4 +1,4 @@ -From 95ea0f29d385bdbd926c5ad13bb6b4f93bb1e3ea Mon Sep 17 00:00:00 2001 +From 631698197b3ed81e7ad3d7c3fa6356fb42f003a7 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Wed, 16 Apr 2014 22:02:01 +0300 Subject: [PATCH 01/16] Fix ALSA sound output for Amlogic-based devices. @@ -8,7 +8,7 @@ Subject: [PATCH 01/16] Fix ALSA sound output for Amlogic-based devices. 1 file changed, 19 insertions(+) diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp -index d30cbab..8679107 100644 +index df50940..9f80c06 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp @@ -83,6 +83,17 @@ static unsigned int ALSASampleRateList[] = @@ -29,7 +29,7 @@ index d30cbab..8679107 100644 CAESinkALSA::CAESinkALSA() : m_bufferSize(0), m_formatSampleRateMul(0.0), -@@ -739,12 +750,20 @@ bool CAESinkALSA::InitializeHW(const ALSAConfig &inconfig, ALSAConfig &outconfig +@@ -741,12 +752,20 @@ bool CAESinkALSA::InitializeHW(const ALSAConfig &inconfig, ALSAConfig &outconfig */ periodSize = std::min(periodSize, (snd_pcm_uframes_t) sampleRate / 20); bufferSize = std::min(bufferSize, (snd_pcm_uframes_t) sampleRate / 5); diff --git a/projects/WeTek_Play/patches/kodi/0002-Allow-audio-passthrough-for-Amlogic-based-devices.patch b/projects/WeTek_Play/patches/kodi/0002-Allow-audio-passthrough-for-Amlogic-based-devices.patch index a6884e1305..4510655711 100644 --- a/projects/WeTek_Play/patches/kodi/0002-Allow-audio-passthrough-for-Amlogic-based-devices.patch +++ b/projects/WeTek_Play/patches/kodi/0002-Allow-audio-passthrough-for-Amlogic-based-devices.patch @@ -1,4 +1,4 @@ -From 614bc1be8201949036c37b29fd124c0be0f866c6 Mon Sep 17 00:00:00 2001 +From 37b3fe27cde38ff20463c6e0a3f3405f8e9b8069 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Wed, 16 Apr 2014 22:11:51 +0300 Subject: [PATCH 02/16] Allow audio passthrough for Amlogic-based devices. diff --git a/projects/WeTek_Play/patches/kodi/0003-Enable-true-1920x1080-output-without-upscaling-on-Am.patch b/projects/WeTek_Play/patches/kodi/0003-Enable-true-1920x1080-output-without-upscaling-on-Am.patch index 4c729893a8..b77e02f8b2 100644 --- a/projects/WeTek_Play/patches/kodi/0003-Enable-true-1920x1080-output-without-upscaling-on-Am.patch +++ b/projects/WeTek_Play/patches/kodi/0003-Enable-true-1920x1080-output-without-upscaling-on-Am.patch @@ -1,16 +1,16 @@ -From ee4bbfe929ce547310358c74c83468d514a7e288 Mon Sep 17 00:00:00 2001 +From f1271c71370fbce8d18817ce32b677c005028c5c Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Wed, 16 Apr 2014 23:08:58 +0300 Subject: [PATCH 03/16] Enable true 1920x1080 output without upscaling on Amlogic-based devices. --- - xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp | 48 +++++++++++++++++++++++---- + xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp | 44 +++++++++++++++++++++++++-- xbmc/windowing/egl/EGLNativeTypeAmlogic.h | 3 ++ - 2 files changed, 44 insertions(+), 7 deletions(-) + 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp -index c19124c..ee17f73 100644 +index 7064836..362db6d 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp @@ -87,9 +87,12 @@ bool CEGLNativeTypeAmlogic::CreateNativeWindow() @@ -41,24 +41,19 @@ index c19124c..ee17f73 100644 switch((int)(0.5 + res.fRefreshRate)) { default: -@@ -220,12 +229,11 @@ bool CEGLNativeTypeAmlogic::SetDisplayResolution(const char *resolution) +@@ -219,7 +228,10 @@ bool CEGLNativeTypeAmlogic::SetDisplayResolution(const char *resolution) + CStdString mode = resolution; // switch display resolution - aml_set_sysfs_str("/sys/class/display/mode", modestr.c_str()); - -- // setup gui freescale depending on display resolution - DisableFreeScale(); -- if (StringUtils::StartsWith(modestr, "1080")) -- { -- EnableFreeScale(); -- } + aml_set_sysfs_str("/sys/class/display/mode", mode.c_str()); +- SetupVideoScaling(mode.c_str()); + + RESOLUTION_INFO res; -+ aml_mode_to_resolution(modestr, &res); ++ aml_mode_to_resolution(mode, &res); + SetFramebufferResolution(res); return true; } -@@ -289,3 +297,29 @@ void CEGLNativeTypeAmlogic::DisableFreeScale() +@@ -304,3 +316,29 @@ void CEGLNativeTypeAmlogic::DisableFreeScale() close(fd0); } } @@ -89,10 +84,10 @@ index c19124c..ee17f73 100644 + } +} diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.h b/xbmc/windowing/egl/EGLNativeTypeAmlogic.h -index 87be029..69ca00a 100644 +index cc34ff7..781a153 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.h +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.h -@@ -53,5 +53,8 @@ protected: +@@ -54,5 +54,8 @@ protected: void DisableFreeScale(); private: diff --git a/projects/WeTek_Play/patches/kodi/0004-Add-support-for-retrieval-of-CPU-temperature-on-Amlo.patch b/projects/WeTek_Play/patches/kodi/0004-Add-support-for-retrieval-of-CPU-temperature-on-Amlo.patch index 14d11c0597..254878c39e 100644 --- a/projects/WeTek_Play/patches/kodi/0004-Add-support-for-retrieval-of-CPU-temperature-on-Amlo.patch +++ b/projects/WeTek_Play/patches/kodi/0004-Add-support-for-retrieval-of-CPU-temperature-on-Amlo.patch @@ -1,4 +1,4 @@ -From c137ada0da2582c6438ddb2966cc582f8574773e Mon Sep 17 00:00:00 2001 +From f3eacd30d27fe7b354f263562a8f55a788b6e7a3 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Tue, 22 Jul 2014 12:18:29 +0300 Subject: [PATCH 04/16] Add support for retrieval of CPU temperature on diff --git a/projects/WeTek_Play/patches/kodi/0005-Add-support-for-AV-CVBS-video-output-on-Amlogic.patch b/projects/WeTek_Play/patches/kodi/0005-Add-support-for-AV-CVBS-video-output-on-Amlogic.patch index 601d90ce55..a573a8e8b3 100644 --- a/projects/WeTek_Play/patches/kodi/0005-Add-support-for-AV-CVBS-video-output-on-Amlogic.patch +++ b/projects/WeTek_Play/patches/kodi/0005-Add-support-for-AV-CVBS-video-output-on-Amlogic.patch @@ -1,11 +1,8 @@ -From 436e67a7fa4969f41765990566f257ffafae9de6 Mon Sep 17 00:00:00 2001 +From 6b5a1dfa9f7f27d34ae95bf0db37499641f9ec92 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Wed, 23 Jul 2014 22:23:34 +0300 Subject: [PATCH 05/16] Add support for AV (CVBS) video output on Amlogic -Conflicts: - - xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp --- xbmc/utils/AMLUtils.cpp | 18 +++++++++++++ xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp | 37 +++++++++++++++++++++++---- @@ -42,7 +39,7 @@ index 9553745..9d5b165 100644 { res->iWidth = 1280; diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp -index ee17f73..ab80343 100644 +index 362db6d..8e4bf37 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp @@ -159,6 +159,10 @@ bool CEGLNativeTypeAmlogic::SetNativeResolution(const RESOLUTION_INFO &res) @@ -103,7 +100,7 @@ index ee17f73..ab80343 100644 } return true; -@@ -323,3 +343,10 @@ void CEGLNativeTypeAmlogic::SetFramebufferResolution(int width, int height) cons +@@ -342,3 +362,10 @@ void CEGLNativeTypeAmlogic::SetFramebufferResolution(int width, int height) cons close(fd0); } } @@ -115,10 +112,10 @@ index ee17f73..ab80343 100644 + return hpd_state[0] == '1'; +} diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.h b/xbmc/windowing/egl/EGLNativeTypeAmlogic.h -index 69ca00a..adb4d51 100644 +index 781a153..8042f36 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.h +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.h -@@ -55,6 +55,7 @@ protected: +@@ -56,6 +56,7 @@ protected: private: void SetFramebufferResolution(const RESOLUTION_INFO &res) const; void SetFramebufferResolution(int width, int height) const; diff --git a/projects/WeTek_Play/patches/kodi/0006-Fix-the-issue-when-the-video-display-is-disabled-aft.patch b/projects/WeTek_Play/patches/kodi/0006-Fix-the-issue-when-the-video-display-is-disabled-aft.patch index f671024de1..afe6d19c1e 100644 --- a/projects/WeTek_Play/patches/kodi/0006-Fix-the-issue-when-the-video-display-is-disabled-aft.patch +++ b/projects/WeTek_Play/patches/kodi/0006-Fix-the-issue-when-the-video-display-is-disabled-aft.patch @@ -1,16 +1,16 @@ -From 8e7abac4cd92434339268123257245086ba37c21 Mon Sep 17 00:00:00 2001 +From 394f77b5139be0aac28bee73e4bdaa4d1888a97a Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Tue, 29 Jul 2014 10:31:07 +0300 Subject: [PATCH 06/16] Fix the issue when the video display is disabled after a resolution change --- - xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp | 57 +-------------------------- + xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp | 55 +-------------------------- xbmc/windowing/egl/EGLNativeTypeAmlogic.h | 1 - - 2 files changed, 1 insertion(+), 57 deletions(-) + 2 files changed, 1 insertion(+), 55 deletions(-) diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp -index ab80343..468a99e 100644 +index 8e4bf37..2d5c4a1 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp @@ -65,7 +65,7 @@ void CEGLNativeTypeAmlogic::Initialize() @@ -22,17 +22,8 @@ index ab80343..468a99e 100644 } void CEGLNativeTypeAmlogic::Destroy() { -@@ -249,8 +249,6 @@ bool CEGLNativeTypeAmlogic::SetDisplayResolution(const char *resolution) - // switch display resolution - aml_set_sysfs_str("/sys/class/display/mode", modestr.c_str()); - -- DisableFreeScale(); -- - RESOLUTION_INFO res; - aml_mode_to_resolution(modestr, &res); - SetFramebufferResolution(res); -@@ -258,64 +256,11 @@ bool CEGLNativeTypeAmlogic::SetDisplayResolution(const char *resolution) - return true; +@@ -277,64 +277,11 @@ void CEGLNativeTypeAmlogic::SetupVideoScaling(const char *mode) + aml_set_sysfs_int("/sys/class/graphics/fb0/blank", 0); } -void CEGLNativeTypeAmlogic::EnableFreeScale() @@ -97,13 +88,13 @@ index ab80343..468a99e 100644 void CEGLNativeTypeAmlogic::SetFramebufferResolution(const RESOLUTION_INFO &res) const diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.h b/xbmc/windowing/egl/EGLNativeTypeAmlogic.h -index adb4d51..79e5733 100644 +index 8042f36..2e52b7e 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.h +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.h -@@ -49,7 +49,6 @@ public: - +@@ -50,7 +50,6 @@ public: protected: bool SetDisplayResolution(const char *resolution); + void SetupVideoScaling(const char *mode); - void EnableFreeScale(); void DisableFreeScale(); diff --git a/projects/WeTek_Play/patches/kodi/0007-aml-Update-all-virtual-consoles-when-changing-frameb.patch b/projects/WeTek_Play/patches/kodi/0007-aml-Update-all-virtual-consoles-when-changing-frameb.patch index 49eb84e6f9..7063816127 100644 --- a/projects/WeTek_Play/patches/kodi/0007-aml-Update-all-virtual-consoles-when-changing-frameb.patch +++ b/projects/WeTek_Play/patches/kodi/0007-aml-Update-all-virtual-consoles-when-changing-frameb.patch @@ -1,4 +1,4 @@ -From e6946cdeeb07c7aaabf0665d2ccba802b8dabafd Mon Sep 17 00:00:00 2001 +From 5a9688ac90c40bd16f31736463a83c63f3b4ef7a Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Thu, 4 Sep 2014 00:28:23 +0300 Subject: [PATCH 07/16] [aml] Update all virtual consoles when changing @@ -11,10 +11,10 @@ It seems that the issue appeared after updating to the U-Boot bootloader release 1 file changed, 1 insertion(+) diff --git a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp -index 468a99e..f8ceb3d 100644 +index 2d5c4a1..1652226 100644 --- a/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp +++ b/xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp -@@ -283,6 +283,7 @@ void CEGLNativeTypeAmlogic::SetFramebufferResolution(int width, int height) cons +@@ -304,6 +304,7 @@ void CEGLNativeTypeAmlogic::SetFramebufferResolution(int width, int height) cons vinfo.xres_virtual = 1920; vinfo.yres_virtual = 2160; vinfo.bits_per_pixel = 32; diff --git a/projects/WeTek_Play/patches/kodi/0008-Reorder-libraries-in-configure-script-to-prevent-lin.patch b/projects/WeTek_Play/patches/kodi/0008-Reorder-libraries-in-configure-script-to-prevent-lin.patch index 7bc4867083..7849d1c3c9 100644 --- a/projects/WeTek_Play/patches/kodi/0008-Reorder-libraries-in-configure-script-to-prevent-lin.patch +++ b/projects/WeTek_Play/patches/kodi/0008-Reorder-libraries-in-configure-script-to-prevent-lin.patch @@ -1,4 +1,4 @@ -From 8a3d4276a0d42795bad6d46bc30c9490f97592a6 Mon Sep 17 00:00:00 2001 +From 87957767f7470d19cd29295e20bbc0e1b50c6650 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Mon, 8 Sep 2014 23:29:40 +0300 Subject: [PATCH 08/16] Reorder libraries in configure script to prevent @@ -13,10 +13,10 @@ libresolv. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in -index d7c971d..83545d9 100644 +index 226b084..1d80869 100644 --- a/configure.in +++ b/configure.in -@@ -1468,7 +1468,7 @@ fi +@@ -1475,7 +1475,7 @@ fi # samba if test "x$use_samba" != "xno"; then PKG_CHECK_MODULES([SAMBA], [smbclient], diff --git a/projects/WeTek_Play/patches/kodi/0009-aml-Change-the-sample-rates-that-are-supported-by-AL.patch b/projects/WeTek_Play/patches/kodi/0009-aml-Change-the-sample-rates-that-are-supported-by-AL.patch index 47515cfa50..aa59cc2fb5 100644 --- a/projects/WeTek_Play/patches/kodi/0009-aml-Change-the-sample-rates-that-are-supported-by-AL.patch +++ b/projects/WeTek_Play/patches/kodi/0009-aml-Change-the-sample-rates-that-are-supported-by-AL.patch @@ -1,4 +1,4 @@ -From 5f06d8bb7e427e43b8a2ed1d3399439f3ad156d1 Mon Sep 17 00:00:00 2001 +From 777bf932a8d4a75a2f7df74507557411d38d779f Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Fri, 19 Sep 2014 01:55:12 +0300 Subject: [PATCH 09/16] [aml] Change the sample rates that are supported by @@ -13,10 +13,10 @@ Conflicts: 1 file changed, 20 insertions(+) diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp -index 8679107..f2b29d4 100644 +index 9f80c06..18303f8 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp -@@ -664,6 +664,26 @@ bool CAESinkALSA::InitializeHW(const ALSAConfig &inconfig, ALSAConfig &outconfig +@@ -666,6 +666,26 @@ bool CAESinkALSA::InitializeHW(const ALSAConfig &inconfig, ALSAConfig &outconfig snd_pcm_hw_params_set_access(m_pcm, hw_params, SND_PCM_ACCESS_RW_INTERLEAVED); unsigned int sampleRate = inconfig.sampleRate; diff --git a/projects/WeTek_Play/patches/kodi/0010-aml-Fill-audio-packets-completely-when-resampling-to.patch b/projects/WeTek_Play/patches/kodi/0010-aml-Fill-audio-packets-completely-when-resampling-to.patch index 3d63a68cfc..64be813677 100644 --- a/projects/WeTek_Play/patches/kodi/0010-aml-Fill-audio-packets-completely-when-resampling-to.patch +++ b/projects/WeTek_Play/patches/kodi/0010-aml-Fill-audio-packets-completely-when-resampling-to.patch @@ -1,4 +1,4 @@ -From 23501841efd32b519de4e8924f760354fb703572 Mon Sep 17 00:00:00 2001 +From 5f75109bfd3d8351165384aa3db26484ec4fd8f7 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sat, 20 Sep 2014 04:43:52 +0300 Subject: [PATCH 10/16] [aml] Fill audio packets completely when resampling to diff --git a/projects/WeTek_Play/patches/kodi/0011-aml-Use-fpsrate-and-fpsscale-instead-of-rfpsrate-and.patch b/projects/WeTek_Play/patches/kodi/0011-aml-Use-fpsrate-and-fpsscale-instead-of-rfpsrate-and.patch index edd8ef0b07..6c067d6014 100644 --- a/projects/WeTek_Play/patches/kodi/0011-aml-Use-fpsrate-and-fpsscale-instead-of-rfpsrate-and.patch +++ b/projects/WeTek_Play/patches/kodi/0011-aml-Use-fpsrate-and-fpsscale-instead-of-rfpsrate-and.patch @@ -1,4 +1,4 @@ -From 5091ef4fb995c399087435a0d7efc96318099c70 Mon Sep 17 00:00:00 2001 +From d88df3bce66c802ace8e7568873971eb6add012b Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sun, 21 Sep 2014 17:17:14 +0300 Subject: [PATCH 11/16] [aml] Use fpsrate and fpsscale instead of rfpsrate and @@ -10,7 +10,7 @@ Subject: [PATCH 11/16] [aml] Use fpsrate and fpsscale instead of rfpsrate and 2 files changed, 20 insertions(+), 30 deletions(-) diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp -index 47f6594..e859eaa 100644 +index 26db4a1..fcdad19 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp @@ -1465,14 +1465,8 @@ bool CAMLCodec::OpenDecoder(CDVDStreamInfo &hints) diff --git a/projects/WeTek_Play/patches/kodi/0012-Fix-incorrect-frame-rate-detection-of-some-videos-wi.patch b/projects/WeTek_Play/patches/kodi/0012-Fix-incorrect-frame-rate-detection-of-some-videos-wi.patch index faefb8960b..28e51702c0 100644 --- a/projects/WeTek_Play/patches/kodi/0012-Fix-incorrect-frame-rate-detection-of-some-videos-wi.patch +++ b/projects/WeTek_Play/patches/kodi/0012-Fix-incorrect-frame-rate-detection-of-some-videos-wi.patch @@ -1,4 +1,4 @@ -From 2e9b3a3a6e7b2055479e110c5cbec0d696af8240 Mon Sep 17 00:00:00 2001 +From 5562574fd8f897f354621059c63dcd01bc30fbf5 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sun, 21 Sep 2014 17:20:25 +0300 Subject: [PATCH 12/16] Fix incorrect frame rate detection of some videos with @@ -37,10 +37,10 @@ index 40c16c0..98c3513 100644 int iWidth; // width of the stream reported by the demuxer float fAspect; // display aspect of stream diff --git a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp -index 300bff7..9a2db60 100644 +index ac4bfdb..0025f3a6 100644 --- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp +++ b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp -@@ -1117,34 +1117,25 @@ CDemuxStream* CDVDDemuxFFmpeg::AddStream(int iId) +@@ -1123,34 +1123,25 @@ CDemuxStream* CDVDDemuxFFmpeg::AddStream(int iId) #else AVRational r_frame_rate = pStream->r_frame_rate; #endif diff --git a/projects/WeTek_Play/patches/kodi/0013-Save-settings-only-if-they-were-modified-after-the-l.patch b/projects/WeTek_Play/patches/kodi/0013-Save-settings-only-if-they-were-modified-after-the-l.patch index f582834d14..49460d3613 100644 --- a/projects/WeTek_Play/patches/kodi/0013-Save-settings-only-if-they-were-modified-after-the-l.patch +++ b/projects/WeTek_Play/patches/kodi/0013-Save-settings-only-if-they-were-modified-after-the-l.patch @@ -1,4 +1,4 @@ -From 12685fbccb83b93051d618a2a6192625da673296 Mon Sep 17 00:00:00 2001 +From 3c1d67f9fd93eb8ed44a5ede7377ebeed7f0738b Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sun, 19 Oct 2014 16:20:33 +0300 Subject: [PATCH 13/16] Save settings only if they were modified after the diff --git a/projects/WeTek_Play/patches/kodi/0014-aml-Fix-periodic-video-stuttering-during-playback-of.patch b/projects/WeTek_Play/patches/kodi/0014-aml-Fix-periodic-video-stuttering-during-playback-of.patch index 8539a92ae8..7fc3ae51d5 100644 --- a/projects/WeTek_Play/patches/kodi/0014-aml-Fix-periodic-video-stuttering-during-playback-of.patch +++ b/projects/WeTek_Play/patches/kodi/0014-aml-Fix-periodic-video-stuttering-during-playback-of.patch @@ -1,4 +1,4 @@ -From 3daad356fe95b304b8ba995dae476ec77664c989 Mon Sep 17 00:00:00 2001 +From 1fcd45b43a06a49454c54b3a2d726d8b96c35640 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Fri, 10 Oct 2014 23:56:59 +0300 Subject: [PATCH 14/16] [aml] Fix periodic video stuttering during playback of @@ -9,10 +9,10 @@ Subject: [PATCH 14/16] [aml] Fix periodic video stuttering during playback of 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp -index e859eaa..007f3a6 100644 +index fcdad19..1b1e715 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp -@@ -1994,19 +1994,15 @@ void CAMLCodec::Process() +@@ -2001,19 +2001,15 @@ void CAMLCodec::Process() double error = app_pts - (double)pts_video/PTS_FREQ; double abs_error = fabs(error); diff --git a/projects/WeTek_Play/patches/kodi/0015-aml-Remove-dependency-on-libamplayer-and-amffmpeg.patch b/projects/WeTek_Play/patches/kodi/0015-aml-Remove-dependency-on-libamplayer-and-amffmpeg.patch index 78e40d5139..ecb431df35 100644 --- a/projects/WeTek_Play/patches/kodi/0015-aml-Remove-dependency-on-libamplayer-and-amffmpeg.patch +++ b/projects/WeTek_Play/patches/kodi/0015-aml-Remove-dependency-on-libamplayer-and-amffmpeg.patch @@ -1,4 +1,4 @@ -From ea22621b073bf1c01aeeb3bb3c24468bf11e7e38 Mon Sep 17 00:00:00 2001 +From 93d56bb5ecb6650365635636323d50a8940ba489 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Thu, 6 Nov 2014 08:14:39 +0200 Subject: [PATCH 15/16] [aml] Remove dependency on libamplayer and amffmpeg @@ -9,7 +9,7 @@ Subject: [PATCH 15/16] [aml] Remove dependency on libamplayer and amffmpeg 2 files changed, 3 insertions(+), 79 deletions(-) diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp -index 007f3a6..8422d7d 100644 +index 1b1e715..00a0770 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp @@ -50,9 +50,9 @@ diff --git a/projects/WeTek_Play/patches/kodi/0016-aml-Add-some-key-mappings-for-HDMI-CEC.patch b/projects/WeTek_Play/patches/kodi/0016-aml-Add-some-key-mappings-for-HDMI-CEC.patch index 96af86eaef..8cc0cb225c 100644 --- a/projects/WeTek_Play/patches/kodi/0016-aml-Add-some-key-mappings-for-HDMI-CEC.patch +++ b/projects/WeTek_Play/patches/kodi/0016-aml-Add-some-key-mappings-for-HDMI-CEC.patch @@ -1,4 +1,4 @@ -From ff1b77d929a8ff79fff1b4b9da41ac473523a02c Mon Sep 17 00:00:00 2001 +From 088faad814a85c970042650f2f97e201d828935b Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sun, 2 Nov 2014 15:54:29 +0200 Subject: [PATCH 16/16] [aml] Add some key mappings for HDMI CEC