summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-13 14:39:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-13 14:39:34 +0200
commit8fe90254f6843fedab11f4bbf7f83090e341f6eb (patch)
tree73cc09200b9c620eef8c36a95898bef795860b30 /recording.c
parent098952e254f008bf2f702579d117766080b75469 (diff)
downloadvdr-8fe90254f6843fedab11f4bbf7f83090e341f6eb.tar.gz
vdr-8fe90254f6843fedab11f4bbf7f83090e341f6eb.tar.bz2
Now storing the channel id in the info.vdr file even if there is no EPG info available
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/recording.c b/recording.c
index 081f9e61..f9c424cd 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.110 2005/08/06 09:53:21 kls Exp $
+ * $Id: recording.c 1.111 2005/08/13 14:00:48 kls Exp $
*/
#include "recording.h"
@@ -220,11 +220,11 @@ void cResumeFile::Delete(void)
// --- cRecordingInfo --------------------------------------------------------
-cRecordingInfo::cRecordingInfo(const cEvent *Event)
+cRecordingInfo::cRecordingInfo(tChannelID ChannelID, const cEvent *Event)
{
+ channelID = ChannelID;
if (Event) {
event = Event;
- channelID = event->ChannelID();
ownEvent = NULL;
}
else
@@ -424,7 +424,7 @@ cRecording::cRecording(cTimer *Timer, const cEvent *Event)
priority = Timer->Priority();
lifetime = Timer->Lifetime();
// handle info:
- info = new cRecordingInfo(Event);
+ info = new cRecordingInfo(Timer->Channel()->GetChannelID(), Event);
// this is a somewhat ugly hack to get the 'summary' information from the
// timer into the recording info, but it saves us from having to actually
// copy the entire event data: