diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-07-30 10:29:24 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-07-30 10:29:24 +0200 |
commit | ae4633feb04b4665ea561dea4c88dea28e8d9032 (patch) | |
tree | c38e0a15f496450d9121bac7ddb68aad2e03c399 /recording.c | |
parent | cacd58d0362b26190df7cb1505ac1c75a41a45ab (diff) | |
download | vdr-ae4633feb04b4665ea561dea4c88dea28e8d9032.tar.gz vdr-ae4633feb04b4665ea561dea4c88dea28e8d9032.tar.bz2 |
Now invalidating /video cache _after_ cutting
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/recording.c b/recording.c index 229cfee5..fd7800b4 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.148 2006/04/29 13:22:20 kls Exp $ + * $Id: recording.c 1.149 2006/07/30 10:23:46 kls Exp $ */ #include "recording.h" @@ -970,7 +970,7 @@ cRecording *cRecordings::GetByName(const char *FileName) return NULL; } -void cRecordings::AddByName(const char *FileName) +void cRecordings::AddByName(const char *FileName, bool TriggerUpdate) { LOCK_THREAD; cRecording *recording = GetByName(FileName); @@ -978,7 +978,8 @@ void cRecordings::AddByName(const char *FileName) recording = new cRecording(FileName); Add(recording); ChangeState(); - TouchUpdate(); + if (TriggerUpdate) + TouchUpdate(); } } |