[SCM] vdr-plugin-vnsiserver/master: Added upstream patch to fix issue with RAM time shift
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Mon Nov 2 21:07:22 UTC 2015
The following commit has been merged in the master branch:
commit 3dc948b159578d62e978af6f543bf7cf1a89e798
Author: Tobias Grimm <etobi at debian.org>
Date: Sun Nov 1 18:58:10 2015 +0100
Added upstream patch to fix issue with RAM time shift
diff --git a/debian/patches/fix-RAM-timeshift-stream-corruption.patch b/debian/patches/fix-RAM-timeshift-stream-corruption.patch
new file mode 100644
index 0000000..99d076a
--- /dev/null
+++ b/debian/patches/fix-RAM-timeshift-stream-corruption.patch
@@ -0,0 +1,22 @@
+Description: fix RAM timeshift stream corruption
+Author: glenvt18 <glenvt18 at gmail.com>
+Origin: upstream
+Applied-Upstream: fbddc69b7af2a02311925a51d131e2e8032a60e3
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+diff --git a/videobuffer.c b/videobuffer.c
+index 885799c..c1da958 100644
+--- a/videobuffer.c
++++ b/videobuffer.c
+@@ -303,7 +303,7 @@ int cVideoBufferRAM::ReadBlock(uint8_t **buf, unsigned int size, time_t &endTime
+ if (m_ReadPtr > (m_BufferSize - m_Margin))
+ {
+ int bytesToCopy = m_BufferSize - m_ReadPtr;
+- memmove(m_Buffer + (m_Margin - bytesToCopy), m_Buffer + m_ReadPtr, bytesToCopy);
++ memmove(m_Buffer + (m_Margin - bytesToCopy), m_BufferPtr + m_ReadPtr, bytesToCopy);
+ *buf = m_Buffer + (m_Margin - bytesToCopy);
+ }
+ else
+--
+2.5.3
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ede8cc7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-RAM-timeshift-stream-corruption.patch
--
vdr-plugin-vnsiserver packaging
More information about the pkg-multimedia-commits
mailing list