diff options
author | scop <scop> | 2005-03-14 22:17:47 +0000 |
---|---|---|
committer | scop <scop> | 2005-03-14 22:17:47 +0000 |
commit | 1b409fbe08c18799d6c82d2483a723ce5d71e4c9 (patch) | |
tree | ed4a6f353c71abdeee2e396bd4858cc09f3738d4 /patches/vdr-iframe.patch | |
parent | 0873270be7fff935b01fae63b4004a7c7d6972e7 (diff) | |
download | vdr-plugin-dxr3-1b409fbe08c18799d6c82d2483a723ce5d71e4c9.tar.gz vdr-plugin-dxr3-1b409fbe08c18799d6c82d2483a723ce5d71e4c9.tar.bz2 |
Add supplemental patches.
Diffstat (limited to 'patches/vdr-iframe.patch')
-rw-r--r-- | patches/vdr-iframe.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/vdr-iframe.patch b/patches/vdr-iframe.patch new file mode 100644 index 0000000..f73d89e --- /dev/null +++ b/patches/vdr-iframe.patch @@ -0,0 +1,19 @@ +Workaround for I-frame display problems when cutting (still picture not +updating) and/or fast forward/backward in some streams. +Apply to: VDR sources +More info: http://www.schluenss.de/history.html + + +--- recording.c.orig 2005-02-12 12:17:47.000000000 +0200 ++++ recording.c 2005-03-14 23:01:32.370785864 +0200 +@@ -1017,8 +1017,8 @@ + FileOffset = &index[Index].offset; + if (Length) { + // all recordings end with a non-I_FRAME, so the following should be safe: +- int fn = index[Index + 1].number; +- int fo = index[Index + 1].offset; ++ int fn = index[Index + 2].number; ++ int fo = index[Index + 2].offset; + if (fn == *FileNumber) + *Length = fo - *FileOffset; + else { |