diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-08-16 10:41:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-08-16 10:41:21 +0200 |
commit | 2e9ef13f1cc354b2e9f2b982ca8524f14190af8b (patch) | |
tree | ff99fdd8aa84d8bebdc54535ae1e4d719cf4cb62 | |
parent | 57a95c6790fd080020c49c79557619fd129a66e0 (diff) | |
download | vdr-2e9ef13f1cc354b2e9f2b982ca8524f14190af8b.tar.gz vdr-2e9ef13f1cc354b2e9f2b982ca8524f14190af8b.tar.bz2 |
Fixed a crash when starting "Pause live video" twice within the same minute on the same channel
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | menu.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -2302,3 +2302,5 @@ Video Disk Recorder Revision History mode (thanks to Rainer Zocholl for reporting this one). - VDR now stops with exit status 2 if one of the configuration files can't be read correctly at program startup (suggested by Rainer Zocholl). +- Fixed a crash when starting "Pause live video" twice within the same minute on + the same channel. @@ -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; |