diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 12:28:40 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 12:28:40 +0200 |
commit | f2183f9ff56f6f0024d9c55df6472f37f638adc0 (patch) | |
tree | a324eeb8e3f3625b82a580046da50bc78532445c /recording.c | |
parent | 5e89427ffc0da466ac776280dd77beb3902a3e49 (diff) | |
download | vdr-f2183f9ff56f6f0024d9c55df6472f37f638adc0.tar.gz vdr-f2183f9ff56f6f0024d9c55df6472f37f638adc0.tar.bz2 |
Added missing lock and state change
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recording.c b/recording.c index d4aa7eaf..35aefc80 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.116 2005/09/25 11:31:52 kls Exp $ + * $Id: recording.c 1.117 2005/09/25 12:28:40 kls Exp $ */ #include "recording.h" @@ -869,10 +869,12 @@ void cRecordings::DelByName(const char *FileName) void cRecordings::ResetResume(const char *ResumeFileName) { + LOCK_THREAD; for (cRecording *recording = First(); recording; recording = Next(recording)) { if (!ResumeFileName || strncmp(ResumeFileName, recording->FileName(), strlen(recording->FileName())) == 0) recording->ResetResume(); } + ChangeState(); } // --- cMark ----------------------------------------------------------------- |