aboutsummaryrefslogtreecommitdiffstats
path: root/main/omxplayer/issue-411.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-01-25 06:35:26 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-01-25 06:35:26 +0000
commitf049db91d02c30fb202b7e024f105a3a219f22b3 (patch)
tree85cd5c868cefa2a99a64874a9c5bf595eff6561a /main/omxplayer/issue-411.patch
parent9205783602472da081913b500dd027ccd1531864 (diff)
downloadaports-f049db91d02c30fb202b7e024f105a3a219f22b3.tar.gz
aports-f049db91d02c30fb202b7e024f105a3a219f22b3.tar.bz2
aports-f049db91d02c30fb202b7e024f105a3a219f22b3.tar.xz
main/omxplayer: cherry-pick fix for issue 411
Diffstat (limited to 'main/omxplayer/issue-411.patch')
-rw-r--r--main/omxplayer/issue-411.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/omxplayer/issue-411.patch b/main/omxplayer/issue-411.patch
new file mode 100644
index 0000000000..84ec758db3
--- /dev/null
+++ b/main/omxplayer/issue-411.patch
@@ -0,0 +1,15 @@
+diff --git a/OMXAudio.cpp b/OMXAudio.cpp
+index 41f282d..2fd12f1 100644
+--- a/OMXAudio.cpp
++++ b/OMXAudio.cpp
+@@ -899,7 +899,8 @@ unsigned int COMXAudio::AddPackets(const void* data, unsigned int len, double dt
+ {
+ //CLog::Log(LOGDEBUG, "%s::%s copy(%d,%d,%d) (s:%d f:%d sin:%d c:%d)", CLASSNAME, __func__, dst-(uint8_t *)omx_buffer->pBuffer, src-demuxer
+ memcpy(dst, src, out_remaining * sample_pitch);
+- src += plane_size;
++ ///*JEHUTTING 20160124 issue-411*/ src += plane_size;
++ /*JEHUTTING 20160124 fix*/src += out_remaining * sample_pitch;
+ dst += out_plane_size;
+ }
+ sample += out_remaining;
+