mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a busy loop in fast forward if the next video data file is missing
This commit is contained in:
parent
3606c5ef23
commit
842efc15c5
@ -1118,6 +1118,7 @@ Reinhard Nissl <rnissl@gmx.de>
|
|||||||
for making cCommand::Execute() use cPipe instead of popen() to avoid problems
|
for making cCommand::Execute() use cPipe instead of popen() to avoid problems
|
||||||
with open file handles when starting background commands
|
with open file handles when starting background commands
|
||||||
for fixing handling error status in cDvbTuner::GetFrontendStatus()
|
for fixing handling error status in cDvbTuner::GetFrontendStatus()
|
||||||
|
for fixing a busy loop in fast forward if the next video data file is missing
|
||||||
|
|
||||||
Richard Robson <richard_robson@beeb.net>
|
Richard Robson <richard_robson@beeb.net>
|
||||||
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
||||||
|
5
HISTORY
5
HISTORY
@ -5047,3 +5047,8 @@ Video Disk Recorder Revision History
|
|||||||
2007-03-03: Version 1.4.6
|
2007-03-03: Version 1.4.6
|
||||||
|
|
||||||
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
||||||
|
|
||||||
|
2007-04-28: Version 1.4.6-1
|
||||||
|
|
||||||
|
- Fixed a busy loop in fast forward if the next video data file is missing
|
||||||
|
(thanks to Reinhard Nissl).
|
||||||
|
@ -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: dvbplayer.c 1.45 2006/04/17 11:00:00 kls Exp $
|
* $Id: dvbplayer.c 1.45.1.1 2007/04/28 14:55:22 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbplayer.h"
|
#include "dvbplayer.h"
|
||||||
@ -402,8 +402,10 @@ void cDvbPlayer::Action(void)
|
|||||||
bool TimeShiftMode = index->IsStillRecording();
|
bool TimeShiftMode = index->IsStillRecording();
|
||||||
int Index = index->GetNextIFrame(readIndex, playDir == pdForward, &FileNumber, &FileOffset, &Length, TimeShiftMode);
|
int Index = index->GetNextIFrame(readIndex, playDir == pdForward, &FileNumber, &FileOffset, &Length, TimeShiftMode);
|
||||||
if (Index >= 0) {
|
if (Index >= 0) {
|
||||||
if (!NextFile(FileNumber, FileOffset))
|
if (!NextFile(FileNumber, FileOffset)) {
|
||||||
|
readIndex = Index;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!TimeShiftMode && playDir == pdForward) {
|
if (!TimeShiftMode && playDir == pdForward) {
|
||||||
|
Loading…
Reference in New Issue
Block a user