From 384d24cc10ae72195e7b2563ec01c44d9f54a865 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 1 Nov 2020 07:41:33 +0100 Subject: [PATCH] RPi4: drop kodi patch to increase thread count this patch has been dropped in popcornmix's gbm branch as well Signed-off-by: Matthias Reichl --- ...PRIME-Increase-thread-count-for-hevc.patch | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 projects/RPi/devices/RPi4/patches/kodi/0001-popcornmix-DVDVideoCodecDRMPRIME-Increase-thread-count-for-hevc.patch diff --git a/projects/RPi/devices/RPi4/patches/kodi/0001-popcornmix-DVDVideoCodecDRMPRIME-Increase-thread-count-for-hevc.patch b/projects/RPi/devices/RPi4/patches/kodi/0001-popcornmix-DVDVideoCodecDRMPRIME-Increase-thread-count-for-hevc.patch deleted file mode 100644 index 54af65daeb..0000000000 --- a/projects/RPi/devices/RPi4/patches/kodi/0001-popcornmix-DVDVideoCodecDRMPRIME-Increase-thread-count-for-hevc.patch +++ /dev/null @@ -1,27 +0,0 @@ -From aeba1b05a001de407ed1618ec6b8b2e961879cde Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Thu, 12 Mar 2020 18:05:20 +0000 -Subject: [PATCH 4/8] DVDVideoCodecDRMPRIME: Increase thread count for hevc - -rpi-vid hevc decoder works best with 3 threads ---- - .../VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp -index ba3c93d89d..f892b1140d 100644 ---- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp -+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp -@@ -253,6 +253,9 @@ bool CDVDVideoCodecDRMPRIME::Open(CDVDStreamInfo& hints, CDVDCodecOptions& optio - return false; - } - } -+ // rpi-vid hevc decoder works best with 3 threads -+ if (pCodec->id == AV_CODEC_ID_HEVC) -+ m_pCodecContext->thread_count = 3; - - m_pCodecContext->pix_fmt = AV_PIX_FMT_DRM_PRIME; - m_pCodecContext->opaque = static_cast(this); --- -2.20.1 -