- Timestamp:
- 02/24/17 20:04:55 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/infobar.h
r39869 r40079 1137 1137 } 1138 1138 1139 if(rcret == getrcconfigint("rchdmi", NULL)) 1140 { 1141 char *value = NULL; 1142 value = readsys("/proc/stb/hdmi-rx/0/hdmi_rx_monitor", 1); 1143 if(value != NULL) 1144 { 1145 if(ostrstr(value, "off") == 0) 1146 { 1147 writesys("/proc/stb/video/videomode", "720p", 1); 1148 writesys("/proc/stb/audio/hdmi_rx_monitor", "on", 1); 1149 writesys("/proc/stb/hdmi-rx/0/hdmi_rx_monitor", "on", 1); 1150 } 1151 else 1152 { 1153 writesys("/proc/stb/audio/hdmi_rx_monitor", "off", 1); 1154 writesys("/proc/stb/hdmi-rx/0/hdmi_rx_monitor", "off", 1); 1155 setvideomode(getconfig("av_videomode", NULL), 0); 1156 } 1157 } 1158 } 1159 1139 1160 if(rcret == RCTIMEOUT && mark == 0) 1140 1161 {
Note: See TracChangeset
for help on using the changeset viewer.