mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed skipping forward in time shift mode near the end of the recording
This commit is contained in:
parent
04d356f805
commit
5d2cb386a0
@ -325,3 +325,6 @@ Ulrich Petri <ulope@gmx.de>
|
|||||||
|
|
||||||
Oliver Lorei <oliverlorei@cityweb.de>
|
Oliver Lorei <oliverlorei@cityweb.de>
|
||||||
for his support in keeping the Premiere World channels up to date in 'channels.conf.cable'
|
for his support in keeping the Premiere World channels up to date in 'channels.conf.cable'
|
||||||
|
|
||||||
|
Andreas Böttger <fboettger@t-online.de>
|
||||||
|
for reporting a bug in skipping forward in time shift mode near the end of the recording
|
||||||
|
2
HISTORY
2
HISTORY
@ -1236,3 +1236,5 @@ Video Disk Recorder Revision History
|
|||||||
- Updated 'channels.conf.cable' for the new PW settings (thanks to Oliver Lorei
|
- Updated 'channels.conf.cable' for the new PW settings (thanks to Oliver Lorei
|
||||||
and Stephan Schreiber). Note that all channels may have moved, so you should
|
and Stephan Schreiber). Note that all channels may have moved, so you should
|
||||||
carefully check any timers you have set!
|
carefully check any timers you have set!
|
||||||
|
- Fixed skipping forward in time shift mode near the end of the recording (thanks
|
||||||
|
to Andreas Böttger for reporting this one).
|
||||||
|
5
dvbapi.c
5
dvbapi.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbapi.c 1.173 2002/04/21 11:55:48 kls Exp $
|
* $Id: dvbapi.c 1.174 2002/05/03 15:59:32 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -279,8 +279,7 @@ bool cIndexFile::Get(int Index, uchar *FileNumber, int *FileOffset, uchar *Pictu
|
|||||||
int cIndexFile::GetNextIFrame(int Index, bool Forward, uchar *FileNumber, int *FileOffset, int *Length, bool StayOffEnd)
|
int cIndexFile::GetNextIFrame(int Index, bool Forward, uchar *FileNumber, int *FileOffset, int *Length, bool StayOffEnd)
|
||||||
{
|
{
|
||||||
if (index) {
|
if (index) {
|
||||||
if (Forward)
|
CatchUp();
|
||||||
CatchUp();
|
|
||||||
int d = Forward ? 1 : -1;
|
int d = Forward ? 1 : -1;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
Index += d;
|
Index += d;
|
||||||
|
Loading…
Reference in New Issue
Block a user