diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-26 13:42:15 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-26 13:42:15 +0100 |
commit | 4bba577a8bd6ac06445d34db3a0f7bdae37c120d (patch) | |
tree | 6c9696d8fe39712bb09ee422d7517a64de3d9609 /vdr.c | |
parent | 503c803b8d97e7997bc2a5c42eb6a2014d013528 (diff) | |
download | vdr-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.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); |