diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-20 10:09:05 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-20 10:09:05 +0200 |
commit | e5d2240bbb98f24212213df92ad3ca3e1cf1e0e7 (patch) | |
tree | 4437cc31dde9ca4b95e0f73f2e27d8110a14170d /recording.c | |
parent | 12f60ee151ca1cecf37d768eb62eb7a13fe61641 (diff) | |
download | vdr-e5d2240bbb98f24212213df92ad3ca3e1cf1e0e7.tar.gz vdr-e5d2240bbb98f24212213df92ad3ca3e1cf1e0e7.tar.bz2 |
The start time of an edited recording is now set to the time of the first editing mark
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recording.c b/recording.c index 4456bddb..cbe27882 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 2.33 2011/08/13 12:37:25 kls Exp $ + * $Id: recording.c 2.34 2011/08/20 09:53:45 kls Exp $ */ #include "recording.h" @@ -958,6 +958,13 @@ bool cRecording::WriteInfo(void) return true; } +void cRecording::SetStartTime(time_t Start) +{ + start = Start; + free(fileName); + fileName = NULL; +} + bool cRecording::Delete(void) { bool result = true; |