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 /menu.c | |
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
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |