summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-16 10:41:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-16 10:41:21 +0200
commit2e9ef13f1cc354b2e9f2b982ca8524f14190af8b (patch)
treeff99fdd8aa84d8bebdc54535ae1e4d719cf4cb62 /menu.c
parent57a95c6790fd080020c49c79557619fd129a66e0 (diff)
downloadvdr-2e9ef13f1cc354b2e9f2b982ca8524f14190af8b.tar.gz
vdr-2e9ef13f1cc354b2e9f2b982ca8524f14190af8b.tar.bz2
Fixed a crash when starting "Pause live video" twice within the same minute on the same channel
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 6dcb2362..87afabd2 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.265 2003/08/09 10:14:44 kls Exp $
+ * $Id: menu.c 1.266 2003/08/16 10:17:49 kls Exp $
*/
#include "menu.h"
@@ -3001,6 +3001,8 @@ cRecordControl::cRecordControl(cDevice *Device, cTimer *Timer, bool Pause)
else {
Timers.Del(timer);
Timers.Save();
+ if (!cReplayControl::LastReplayed()) // an instant recording, maybe from cRecordControls::PauseLiveVideo()
+ cReplayControl::SetRecording(fileName, Recording.Name());
}
timer = NULL;
return;