1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added an additional sleep() after going into "Pause live video" mode

This commit is contained in:
Klaus Schmidinger 2003-05-29 09:47:31 +02:00
parent b417112bd4
commit d2d2b75b2c
3 changed files with 9 additions and 1 deletions

View File

@ -702,3 +702,7 @@ Alexander Damhuis <ad@phonedation.de>
Antonio Ospite <ospite@studenti.unina.it>
for translating OSD texts to the Italian language
Karim Afifi <karim.afifi@free.fr>
for reporting a problem with breaking off replay in case the user presses "Play"
or "Pause" too soon after going into "Pause live video" mode

View File

@ -2217,3 +2217,6 @@ Video Disk Recorder Revision History
- Some corrections to the Finnish OSD texts (thanks to Niko Tarnanen and Rolf
Ahrenberg).
- Completed the Italian OSD texts (thanks to Antonio Ospite).
- Added an additional sleep() after going into "Pause live video" mode to avoid
breaking off replay in case the user hits "Play" or "Pause" too soon (thanks
to Karim Afifi for reporting ths one).

3
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.249 2003/05/25 14:06:17 kls Exp $
* $Id: menu.c 1.250 2003/05/29 09:35:28 kls Exp $
*/
#include "menu.h"
@ -3135,6 +3135,7 @@ bool cRecordControls::PauseLiveVideo(void)
sleep(1); // allow device to replay some frames, so we have a picture
Interface->Close();
rc->ProcessKey(kPause); // pause, allowing replay mode display
sleep(3); // allow recorded file to fill up enough to continue replaying
return true;
}
Interface->Close();