blob: 893d02e34d253b77ed093dc8aab89c06ed026f96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
Probably a better fix than this one can be found at
http://home.vr-web.de/~rnissl/vdr-1.3.24-dvbplayer.patch
--- 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 {
|