summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-31 15:20:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-31 15:20:19 +0100
commit0e6296699e74bd0569bb47b1798972e69f15e4e5 (patch)
tree4b3ea9cd931739e605fc5f5eb6665c440df09113 /menu.c
parent89df44971574415bd51f4eb01f8e085fb6266dc1 (diff)
downloadvdr-0e6296699e74bd0569bb47b1798972e69f15e4e5.tar.gz
vdr-0e6296699e74bd0569bb47b1798972e69f15e4e5.tar.bz2
Changed the API of the functions cStatus::Recording() and cStatus::Replaying(), so that they can provide the full file name of the recording
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 38ac3688..0a41312a 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.382 2005/12/28 12:35:54 kls Exp $
+ * $Id: menu.c 1.383 2005/12/31 15:08:19 kls Exp $
*/
#include "menu.h"
@@ -3293,7 +3293,7 @@ cRecordControl::cRecordControl(cDevice *Device, cTimer *Timer, bool Pause)
recorder = new cRecorder(fileName, ch->Ca(), timer->Priority(), ch->Vpid(), ch->Apids(), ch->Dpids(), ch->Spids());
if (device->AttachReceiver(recorder)) {
Recording.WriteInfo();
- cStatus::MsgRecording(device, Recording.Name());
+ cStatus::MsgRecording(device, Recording.Name(), Recording.FileName(), true);
if (!Timer && !cReplayControl::LastReplayed()) // an instant recording, maybe from cRecordControls::PauseLiveVideo()
cReplayControl::SetRecording(fileName, Recording.Name());
Recordings.AddByName(fileName);
@@ -3352,7 +3352,7 @@ void cRecordControl::Stop(void)
DELETENULL(recorder);
timer->SetRecording(false);
timer = NULL;
- cStatus::MsgRecording(device, NULL);
+ cStatus::MsgRecording(device, NULL, fileName, false);
cRecordingUserCommand::InvokeCommand(RUC_AFTERRECORDING, fileName);
}
}
@@ -3551,13 +3551,13 @@ cReplayControl::cReplayControl(void)
timeSearchActive = false;
marks.Load(fileName);
cRecording Recording(fileName);
- cStatus::MsgReplaying(this, Recording.Name());
+ cStatus::MsgReplaying(this, Recording.Name(), Recording.FileName(), true);
}
cReplayControl::~cReplayControl()
{
Hide();
- cStatus::MsgReplaying(this, NULL);
+ cStatus::MsgReplaying(this, NULL, fileName, false);
Stop();
}