git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c71447
)
add something which doesn't work
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 26 Jan 2006 23:15:54 +0000
(23:15 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 26 Jan 2006 23:15:54 +0000
(23:15 +0000)
lib/driver/avswitch.cpp
patch
|
blob
|
history
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);
}