summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--i18n.c23
-rw-r--r--menu.c32
-rw-r--r--menu.h3
4 files changed, 5 insertions, 54 deletions
diff --git a/HISTORY b/HISTORY
index 7a891941..a5c28232 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4005,3 +4005,4 @@ Video Disk Recorder Revision History
If the event is already marked with 'T', the "Red" button opens the "Edit
timer" menu for that timer.
- Removing deleted recordings is now done in a separate thread.
+- Dropped the unused "stop recording on primary interface" stuff.
diff --git a/i18n.c b/i18n.c
index ff25ac8a..943afabb 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.220 2005/11/04 14:36:27 kls Exp $
+ * $Id: i18n.c 1.221 2005/12/28 12:35:20 kls Exp $
*
* Translations provided by:
*
@@ -1115,27 +1115,6 @@ const tI18nPhrase Phrases[] = {
"Lõpetan salvestamise?",
"Stop optagelse?",
},
- { "on primary interface",
- "auf dem primären Interface",
- "na primarni napravi",
- "su interfaccia primaria",
- "op eerste interface",
- "no interface primário",
- "sur la carte primaire",
- "på første enhet",
- "ensisijaisella sovittimella",
- "na pierwszym interfejsie",
- "en interface primario",
- "óôÞí êýñéá êÜñôá",
- "från den första enheten?",
- "pe prima interfaþã",
- "az elsö kártyán",
- "a la interfície primària",
- "ÝÐ ÞáÝÞÒÝÞÜ ãáâàÞÙáâÒÕ",
- "na primarnom ureðaju",
- "peavastuvõtjal",
- "på primær enhed",
- },
{ "Cancel editing?",
"Schneiden abbrechen?",
"®elite prekiniti urejanje?",
diff --git a/menu.c b/menu.c
index 4a03c229..38ac3688 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.381 2005/12/28 11:35:33 kls Exp $
+ * $Id: menu.c 1.382 2005/12/28 12:35:54 kls Exp $
*/
#include "menu.h"
@@ -2581,7 +2581,6 @@ cMenuPluginItem::cMenuPluginItem(const char *Name, int Index)
// --- cMenuMain -------------------------------------------------------------
#define STOP_RECORDING tr(" Stop recording ")
-#define ON_PRIMARY_INTERFACE tr("on primary interface")
cOsdObject *cMenuMain::pluginOsdObject = NULL;
@@ -2649,15 +2648,6 @@ void cMenuMain::Set(void)
if (Commands.Count())
Add(new cOsdItem(hk(tr("Commands")), osCommands));
- // Record control:
-
- if (cRecordControls::StopPrimary()) {
- char *buffer = NULL;
- asprintf(&buffer, "%s%s", STOP_RECORDING, ON_PRIMARY_INTERFACE);
- Add(new cOsdItem(buffer, osStopRecord));
- free(buffer);
- }
-
Update(true);
Display();
@@ -2753,11 +2743,7 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
case osStopRecord: if (Interface->Confirm(tr("Stop recording?"))) {
cOsdItem *item = Get(Current());
if (item) {
- const char *s = item->Text() + strlen(STOP_RECORDING);
- if (strcmp(s, ON_PRIMARY_INTERFACE) == 0)
- cRecordControls::StopPrimary(true);
- else
- cRecordControls::Stop(item->Text() + strlen(STOP_RECORDING));
+ cRecordControls::Stop(item->Text() + strlen(STOP_RECORDING));
return osEnd;
}
}
@@ -3455,20 +3441,6 @@ void cRecordControls::Stop(cDevice *Device)
}
}
-bool cRecordControls::StopPrimary(bool DoIt)
-{
- if (cDevice::PrimaryDevice()->Receiving()) {
- //XXX+ disabled for the moment - might become obsolete with DVB_DRIVER_VERSION >= 2002090101
- cDevice *device = NULL;//XXX cDevice::GetDevice(cDevice::PrimaryDevice()->Ca(), 0);
- if (device) {
- if (DoIt)
- Stop(cDevice::PrimaryDevice());
- return true;
- }
- }
- return false;
-}
-
bool cRecordControls::PauseLiveVideo(void)
{
Skins.Message(mtStatus, tr("Pausing live video..."));
diff --git a/menu.h b/menu.h
index c285669a..39b65fd7 100644
--- a/menu.h
+++ b/menu.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.h 1.78 2005/12/24 15:44:56 kls Exp $
+ * $Id: menu.h 1.79 2005/12/28 12:32:51 kls Exp $
*/
#ifndef __MENU_H
@@ -201,7 +201,6 @@ public:
static bool Start(cTimer *Timer = NULL, bool Pause = false);
static void Stop(const char *InstantId);
static void Stop(cDevice *Device);
- static bool StopPrimary(bool DoIt = false);
static bool PauseLiveVideo(void);
static const char *GetInstantId(const char *LastInstantId);
static cRecordControl *GetRecordControl(const char *FileName);