add something which doesn't work
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 26 Jan 2006 23:15:54 +0000 (23:15 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 26 Jan 2006 23:15:54 +0000 (23:15 +0000)
lib/driver/avswitch.cpp

index 47a60cf384f814e7a69be8fac49be815f08e0888..09b1ec33fe2aad5a253966f2a7e06c889ec40fac 100644 (file)
@@ -75,6 +75,7 @@ void eAVSwitch::setColorFormat(int format)
        char *cvbs="cvbs";
        char *rgb="rgb";
        char *svideo="svideo";
+       char *yuv="yuv";
        int fd;
        
        if((fd = open("/proc/stb/avs/0/colorformat", O_WRONLY)) < 0) {
@@ -91,6 +92,9 @@ void eAVSwitch::setColorFormat(int format)
                case 2:
                        write(fd, svideo, strlen(svideo));
                        break;
+               case 3:
+                       write(fd, yuv, strlen(yuv));
+                       break;
        }       
        close(fd);
 }