mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed high system load when displaying a still picture in replay
This commit is contained in:
parent
a62790ed09
commit
497183cd73
3
HISTORY
3
HISTORY
@ -534,7 +534,7 @@ Video Disk Recorder Revision History
|
|||||||
- No longer getting stuck when a channel doesn't sync while switching
|
- No longer getting stuck when a channel doesn't sync while switching
|
||||||
with the 'Up' and 'Down' keys.
|
with the 'Up' and 'Down' keys.
|
||||||
|
|
||||||
2001-07-12: Version 0.84
|
2001-07-14: Version 0.84
|
||||||
|
|
||||||
- Fixed video packet scanning to make it recognize the whole range of
|
- Fixed video packet scanning to make it recognize the whole range of
|
||||||
allowed video packet ids.
|
allowed video packet ids.
|
||||||
@ -550,3 +550,4 @@ Video Disk Recorder Revision History
|
|||||||
- Increased the timeout for numeric channel switching from 500ms to 1s.
|
- Increased the timeout for numeric channel switching from 500ms to 1s.
|
||||||
- Fixed handling the "Green" button in the "Schedules" menu for channels that
|
- Fixed handling the "Green" button in the "Schedules" menu for channels that
|
||||||
have a second audio PID.
|
have a second audio PID.
|
||||||
|
- Fixed high system load when displaying a still picture in replay.
|
||||||
|
6
dvbapi.c
6
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.83 2001/07/12 12:23:29 kls Exp $
|
* $Id: dvbapi.c 1.84 2001/07/14 09:23:50 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -761,6 +761,8 @@ void cReplayBuffer::Input(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
usleep(1); // this keeps the CPU load low
|
||||||
if (blockInput > 1)
|
if (blockInput > 1)
|
||||||
blockInput = 1;
|
blockInput = 1;
|
||||||
}
|
}
|
||||||
@ -792,6 +794,8 @@ void cReplayBuffer::Output(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
usleep(1); // this keeps the CPU load low
|
||||||
if (blockOutput > 1)
|
if (blockOutput > 1)
|
||||||
blockOutput = 1;
|
blockOutput = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user