summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-26 13:42:15 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-26 13:42:15 +0100
commit4bba577a8bd6ac06445d34db3a0f7bdae37c120d (patch)
tree6c9696d8fe39712bb09ee422d7517a64de3d9609 /vdr.c
parent503c803b8d97e7997bc2a5c42eb6a2014d013528 (diff)
downloadvdr-4bba577a8bd6ac06445d34db3a0f7bdae37c120d.tar.gz
vdr-4bba577a8bd6ac06445d34db3a0f7bdae37c120d.tar.bz2
Improved error handling in the editing process; message prompt at the end of editing process
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 572e16f1..17d84094 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.91 2002/01/26 11:53:11 kls Exp $
+ * $Id: vdr.c 1.92 2002/01/26 13:35:05 kls Exp $
*/
#include <getopt.h>
@@ -468,7 +468,12 @@ int main(int argc, char *argv[])
}
if (!Menu) {
EITScanner.Process();
- cVideoCutter::Active();
+ if (!cVideoCutter::Active() && cVideoCutter::Ended()) {
+ if (cVideoCutter::Error())
+ Interface->Error(tr("Editing process failed!"));
+ else
+ Interface->Info(tr("Editing process finished"));
+ }
}
if (!*Interact && (!cRecordControls::Active() || ForceShutdown)) {
time_t Now = time(NULL);