summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-16 12:46:15 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-16 12:46:15 +0200
commit7399d8eff42e73420a13440d021431e8d8e7d78c (patch)
tree81d316e957064a5ca83b0b1634ed383f44ce9691
parent6702994adc8ee6951484b9e6b9ab1131cfa6c876 (diff)
downloadvdr-7399d8eff42e73420a13440d021431e8d8e7d78c.tar.gz
vdr-7399d8eff42e73420a13440d021431e8d8e7d78c.tar.bz2
No longer starting the editing process if no marks have been set
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--i18n.c18
-rw-r--r--menu.c6
4 files changed, 26 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 1fcafd55..7d9262e5 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -655,3 +655,6 @@ Juri Haberland <juri@koschikode.com>
Alfred Zastrow <vdr@zastrow4u.de>
for suggesting to implement separate PausePriority and PauseLifetime parameters for
the recordings created when pausing live video
+
+Matthias Raus <matthias-raus@web.de>
+ for reporting a problem with starting the editing process if no marks have been set
diff --git a/HISTORY b/HISTORY
index c1494933..f0be74f5 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2152,3 +2152,5 @@ Video Disk Recorder Revision History
waiting functionality it can call the new SetTimeouts() function.
- Moved the call to cPlugin::Start() further up in vdr.c, to make sure it gets
called before trying to learn the keys (problem reported by Oliver Endriss).
+- No longer starting the editing process if no marks have been set (thanks to
+ Matthias Raus for reporting this one).
diff --git a/i18n.c b/i18n.c
index 34b24235..38f3890d 100644
--- a/i18n.c
+++ b/i18n.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: i18n.c 1.108 2003/05/11 13:54:23 kls Exp $
+ * $Id: i18n.c 1.109 2003/05/16 12:44:43 kls Exp $
*
* Translations provided by:
*
@@ -1548,6 +1548,22 @@ const tI18nPhrase Phrases[] = {
"Nu pot porni Modul de Transfer!",
"Transfer-Mode nem indítható!",
},
+ { "No editing marks defined!",
+ "Keine Schnittmarken gesetzt!",
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ "",//TODO
+ },
{ "Can't start editing process!",
"Schnitt kann nicht gestartet werden!",
"Ne morem zaceti urejanja!",
diff --git a/menu.c b/menu.c
index 5d02ce71..f4c58b35 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.244 2003/05/11 16:06:05 kls Exp $
+ * $Id: menu.c 1.245 2003/05/16 12:40:12 kls Exp $
*/
#include "menu.h"
@@ -3494,7 +3494,9 @@ void cReplayControl::EditCut(void)
if (fileName) {
Hide();
if (!cCutter::Active()) {
- if (!cCutter::Start(fileName))
+ if (!marks.Count())
+ Interface->Error(tr("No editing marks defined!"));
+ else if (!cCutter::Start(fileName))
Interface->Error(tr("Can't start editing process!"));
else
Interface->Info(tr("Editing process started"));