summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-29 09:47:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-29 09:47:31 +0200
commitd2d2b75b2cd48a857dd69417ab81b3c977f4e934 (patch)
treee9becec01cd7b1bf6138c037e170f58ac69e8492
parentb417112bd4e1b7eec6118121668cc39ab36ff736 (diff)
downloadvdr-d2d2b75b2cd48a857dd69417ab81b3c977f4e934.tar.gz
vdr-d2d2b75b2cd48a857dd69417ab81b3c977f4e934.tar.bz2
Added an additional sleep() after going into "Pause live video" mode
-rw-r--r--CONTRIBUTORS4
-rw-r--r--HISTORY3
-rw-r--r--menu.c3
3 files changed, 9 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index ea39abb4..d75aabbc 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -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
diff --git a/HISTORY b/HISTORY
index 610abe43..adcc5d64 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/menu.c b/menu.c
index 9fb37503..22b78718 100644
--- a/menu.c
+++ b/menu.c
@@ -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();