aboutsummaryrefslogtreecommitdiffstats
path: root/community/kodi/19-fix-audio-with-latest-ffmpeg.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-09-05 20:13:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-05 20:15:05 +0000
commitcf81dd1299e968cef4dcdb93e6d882d947a89be3 (patch)
tree54f5cea1cb3e8ac625cd17c21b58afa821e0ce32 /community/kodi/19-fix-audio-with-latest-ffmpeg.patch
parentf084cbc1f5b8f007461251a87e37c7669cfef2ad (diff)
downloadaports-cf81dd1299e968cef4dcdb93e6d882d947a89be3.tar.bz2
aports-cf81dd1299e968cef4dcdb93e6d882d947a89be3.tar.xz
community/kodi: fix sound with new ffmpeg
ref #9387
Diffstat (limited to 'community/kodi/19-fix-audio-with-latest-ffmpeg.patch')
-rw-r--r--community/kodi/19-fix-audio-with-latest-ffmpeg.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/kodi/19-fix-audio-with-latest-ffmpeg.patch b/community/kodi/19-fix-audio-with-latest-ffmpeg.patch
new file mode 100644
index 0000000000..5f5e613bed
--- /dev/null
+++ b/community/kodi/19-fix-audio-with-latest-ffmpeg.patch
@@ -0,0 +1,15 @@
+From: Stefan Hachmann <stefan@hachmann-it.de>
+To: 881536@bugs.debian.org
+Subject: Re: Bug#881536: ffmpeg: Breaks sound in kodi
+
+--- a/xbmc/cores/VideoPlayer/VideoPlayerAudio.cpp
++++ b/xbmc/cores/VideoPlayer/VideoPlayerAudio.cpp
+@@ -486,7 +486,7 @@
+ // guess next pts
+ m_audioClock += audioframe.duration;
+
+- int ret = m_pAudioCodec->Decode(nullptr, 0, DVD_NOPTS_VALUE, DVD_NOPTS_VALUE);
++ int ret = 0;
+ if (ret < 0)
+ {
+ CLog::Log(LOGERROR, "CVideoPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (%d)", ret);