git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add something which doesn't work
[enigma2.git]
/
lib
/
driver
/
avswitch.cpp
diff --git
a/lib/driver/avswitch.cpp
b/lib/driver/avswitch.cpp
index 47a60cf384f814e7a69be8fac49be815f08e0888..09b1ec33fe2aad5a253966f2a7e06c889ec40fac 100644
(file)
--- a/
lib/driver/avswitch.cpp
+++ b/
lib/driver/avswitch.cpp
@@
-75,6
+75,7
@@
void eAVSwitch::setColorFormat(int format)
char *cvbs="cvbs";
char *rgb="rgb";
char *svideo="svideo";
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) {
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 2:
write(fd, svideo, strlen(svideo));
break;
+ case 3:
+ write(fd, yuv, strlen(yuv));
+ break;
}
close(fd);
}
}
close(fd);
}