Changeset 26495
- Timestamp:
- 02/26/14 21:18:25 (9 years ago)
- Location:
- titan/titan
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/avsettings.h
r26467 r26495 242 242 { 243 243 setvideomode(resolution->ret, 0); 244 // if(checkbox("ATEMIO5000") != 1) 245 changefbresolution(resolution->ret, 0); 244 changefbresolution(resolution->ret, 0); 246 245 if(flag == 0) 247 246 { … … 250 249 { 251 250 setvideomode(ret, 0); 252 // if(checkbox("ATEMIO5000") != 1) 253 changefbresolution(ret, 0); 251 changefbresolution(ret, 0); 254 252 } 255 253 else -
titan/titan/fb.h
r26471 r26495 193 193 fd = open(fbdev, O_RDWR); 194 194 195 // blinking work start 196 if(checkbox("ATEMIO5000") == 1) 197 { 198 if (fd < 0) 199 { 195 // blinking work start 196 #ifdef EPLAYER4 197 if (fd < 0) 198 { 200 199 perror(fbdev); 201 200 goto nolfb; 202 201 } 203 } 204 202 #endif 203 // blinking work end 205 204 206 205 if(fd == -1) … … 241 240 } 242 241 243 if (checkbox("ATEMIO5000") == 1 && var_screeninfo.bits_per_pixel != 32) 242 #ifdef EPLAYER4 243 if (var_screeninfo.bits_per_pixel != 32) 244 244 { 245 245 debug(100, "Only 32 bit per pixel supported. Framebuffer currently use %d", var_screeninfo.bits_per_pixel); … … 247 247 return 0; 248 248 } 249 #endif 249 250 250 251 … … 281 282 void closefb() 282 283 { 283 if(checkbox("ATEMIO5000") == 1) 284 { 285 286 287 288 289 290 291 292 293 294 295 296 297 298 } 284 285 #ifdef EPLAYER4 286 if(lfb) 287 { 288 debug(100, "ms_sync"); 289 msync(lfb, fix_screeninfo.smem_len, MS_SYNC); 290 munmap(lfb, fix_screeninfo.smem_len); 291 } 292 if(fb->fd >= 0) 293 { 294 debug(100, "close"); 295 disablemanualblit(); 296 close(fb->fd); 297 fb->fd = -1; 298 } 299 #endif 299 300 300 301 if(fb != NULL) … … 337 338 { 338 339 debug(100, "fb->colbytes: %d", fb->colbytes); 339 if(checkbox("ATEMIO5000") == 1) return; 340 #ifdef EPLAYER4 341 return; 342 #endif 340 343 341 344 if(ostrcmp("pal", value) == 0) -
titan/titan/infobar.h
r26410 r26495 66 66 { 67 67 if(playpic == 1) { 68 if (checkbox("ATEMIO5000") != 1) 68 //it anymore needed 69 // if (checkbox("ATEMIO5000") != 1) 69 70 clearscreen(playinfobarpic); 70 71 drawscreen(playinfobarpic, 0, 0); -
titan/titan/titan.c
r26480 r26495 714 714 initlocale(getconfig("localepath", NULL)); 715 715 716 if(checkbox("ATEMIO5000") == 1) 717 bcm_accel_init(); 716 #ifdef EPLAYER4 717 bcm_accel_init(); 718 #endif 718 719 719 720 fb = openfb(getconfig("fbdev", NULL), 0); … … 722 723 clearfball(); 723 724 enablemanualblit(); 724 if(checkbox("ATEMIO5000") == 1) 725 waitvsync(); 725 726 #ifdef EPLAYER4 727 waitvsync(); 728 #endif 726 729 727 730 tmpstr = getconfig("fb1dev", NULL);
Note: See TracChangeset
for help on using the changeset viewer.