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:
parent
b417112bd4
commit
d2d2b75b2c
@ -702,3 +702,7 @@ Alexander Damhuis <ad@phonedation.de>
|
|||||||
|
|
||||||
Antonio Ospite <ospite@studenti.unina.it>
|
Antonio Ospite <ospite@studenti.unina.it>
|
||||||
for translating OSD texts to the Italian language
|
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
|
||||||
|
3
HISTORY
3
HISTORY
@ -2217,3 +2217,6 @@ Video Disk Recorder Revision History
|
|||||||
- Some corrections to the Finnish OSD texts (thanks to Niko Tarnanen and Rolf
|
- Some corrections to the Finnish OSD texts (thanks to Niko Tarnanen and Rolf
|
||||||
Ahrenberg).
|
Ahrenberg).
|
||||||
- Completed the Italian OSD texts (thanks to Antonio Ospite).
|
- 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
3
menu.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: 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"
|
#include "menu.h"
|
||||||
@ -3135,6 +3135,7 @@ bool cRecordControls::PauseLiveVideo(void)
|
|||||||
sleep(1); // allow device to replay some frames, so we have a picture
|
sleep(1); // allow device to replay some frames, so we have a picture
|
||||||
Interface->Close();
|
Interface->Close();
|
||||||
rc->ProcessKey(kPause); // pause, allowing replay mode display
|
rc->ProcessKey(kPause); // pause, allowing replay mode display
|
||||||
|
sleep(3); // allow recorded file to fill up enough to continue replaying
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
Interface->Close();
|
Interface->Close();
|
||||||
|
Loading…
Reference in New Issue
Block a user