diff --git a/projects/RPi/patches/kodi/0006-fixup-ffmpeg-avformats.patch b/projects/RPi/patches/kodi/0006-fixup-ffmpeg-avformats.patch new file mode 100644 index 0000000000..1a61db8479 --- /dev/null +++ b/projects/RPi/patches/kodi/0006-fixup-ffmpeg-avformats.patch @@ -0,0 +1,24 @@ +From 12b3f602eb11e348e29c61ad162734dab3f51520 Mon Sep 17 00:00:00 2001 +From: Matthias Reichl +Date: Tue, 21 Mar 2023 19:53:12 +0100 +Subject: [PATCH] fixup DVDVideoCodecDRMPRIME av formats for latest ffmpeg + +--- + xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp +index f9c69d6871..1030ed4aa3 100644 +--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp ++++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp +@@ -337,7 +337,6 @@ bool CDVDVideoCodecDRMPRIME::Open(CDVDStreamInfo& hints, CDVDCodecOptions& optio + m_pCodecContext->bits_per_coded_sample = hints.bitsperpixel; + m_pCodecContext->time_base.num = 1; + m_pCodecContext->time_base.den = DVD_TIME_BASE; +- m_pCodecContext->thread_safe_callbacks = 1; + m_pCodecContext->thread_count = CServiceBroker::GetCPUInfo()->GetCPUCount(); + + if (hints.extradata && hints.extrasize > 0) +-- +2.39.2 +