aboutsummaryrefslogtreecommitdiff
path: root/lib/driver
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-11 12:52:48 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-11 12:52:48 +0100
commitbbfcb7ea1f040d030277e2b6f2efa9ea0967bf2b (patch)
treec5945c791698c14723e989449e6b4bfcc275c05d /lib/driver
parent4f7990ff2a55874b9eb65e3c9cd47dacb9f76deb (diff)
parent5e6f814d005a01caa437a532e61f4b338617ff67 (diff)
downloadenigma2-bbfcb7ea1f040d030277e2b6f2efa9ea0967bf2b.tar.gz
enigma2-bbfcb7ea1f040d030277e2b6f2efa9ea0967bf2b.zip
Merge branch 'master' of /home/tmbinc/enigma2-git into tmbinc/FixTimingBugs
Conflicts: lib/dvb/decoder.cpp
Diffstat (limited to 'lib/driver')
-rw-r--r--lib/driver/avswitch.cpp30
-rw-r--r--lib/driver/avswitch.h2
2 files changed, 0 insertions, 32 deletions
diff --git a/lib/driver/avswitch.cpp b/lib/driver/avswitch.cpp
index dbfebf5f..f05bdd95 100644
--- a/lib/driver/avswitch.cpp
+++ b/lib/driver/avswitch.cpp
@@ -132,23 +132,6 @@ void eAVSwitch::setInput(int val)
write(fd, input[val], strlen(input[val]));
close(fd);
-
- if (val == 1)
- setFastBlank(2);
-}
-
-void eAVSwitch::setFastBlank(int val)
-{
- int fd;
- const char *fb[] = {"low", "high", "vcr"};
-
- if((fd = open("/proc/stb/avs/0/fb", O_WRONLY)) < 0) {
- eDebug("cannot open /proc/stb/avs/0/fb");
- return;
- }
-
- write(fd, fb[val], strlen(fb[0]));
- close(fd);
}
void eAVSwitch::setColorFormat(int format)
@@ -284,18 +267,5 @@ void eAVSwitch::setWSS(int val) // 0 = auto, 1 = auto(4:3_off)
close(fd);
}
-void eAVSwitch::setSlowblank(int val)
-{
- int fd;
- if((fd = open("/proc/stb/avs/0/sb", O_WRONLY)) < 0) {
- eDebug("cannot open /proc/stb/avs/0/sb");
- return;
- }
- const char *sb[] = {"0", "6", "12", "vcr", "auto"};
- write(fd, sb[val], strlen(sb[val]));
-// eDebug("set slow blanking to %s", sb[val]);
- close(fd);
-}
-
//FIXME: correct "run/startlevel"
eAutoInitP0<eAVSwitch> init_avswitch(eAutoInitNumbers::rc, "AVSwitch Driver");
diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h
index 8fdafdd1..bcb29c40 100644
--- a/lib/driver/avswitch.h
+++ b/lib/driver/avswitch.h
@@ -26,12 +26,10 @@ public:
static eAVSwitch *getInstance();
bool haveScartSwitch();
int getVCRSlowBlanking();
- void setFastBlank(int val);
void setColorFormat(int format);
void setAspectRatio(int ratio);
void setVideomode(int mode);
void setInput(int val);
- void setSlowblank(int val);
void setWSS(int val);
PSignal1<void, int> vcr_sb_notifier;
};