some small changes needed for build scroll support in eventview window
[enigma2.git] / lib / driver / avswitch.cpp
index 9d2ae007c3f2d5a0787fde30b585033e2cd189d4..c018b43bc333db0cf10cd1b6cd433a3a67ecaa35 100644 (file)
@@ -95,7 +95,7 @@ void eAVSwitch::setVideomode(int mode)
        char *ntsc="ntsc";
        int fd;
        
-       return 0;
+       return;
        //FIXME: bug in driver (cannot set PAL)
        if((fd = open("/proc/stb/video/videomode", O_WRONLY)) < 0) {
                printf("cannot open /proc/stb/video/videomode\n");
@@ -105,7 +105,7 @@ void eAVSwitch::setVideomode(int mode)
                case 0:
                        write(fd, pal, strlen(pal));
                        break;
-               case 3:
+               case 1:
                        write(fd, ntsc, strlen(ntsc));
                        break;
        }