comparison libvo/vo_dxr3.c @ 17366:934380353fd6

massive attack: mp_msg printf format fixes
author rathann
date Thu, 12 Jan 2006 20:04:36 +0000
parents aff6d5831e25
children a107276371a8
comparison
equal deleted inserted replaced
17365:e2ca21ac42ce 17366:934380353fd6
655 return -1; 655 return -1;
656 } 656 }
657 657
658 acq_color = ((key_color.red / 256) << 16) | ((key_color.green / 256) << 8) | key_color.blue; 658 acq_color = ((key_color.red / 256) << 16) | ((key_color.green / 256) << 8) | key_color.blue;
659 if (key_color.pixel != KEY_COLOR) { 659 if (key_color.pixel != KEY_COLOR) {
660 printf("VO: [dxr3] Unable to allocate exact keycolor, using closest match (%0x).\n", key_color.pixel); 660 printf("VO: [dxr3] Unable to allocate exact keycolor, using closest match (0x%lx).\n", key_color.pixel);
661 } 661 }
662 662
663 /* Set keycolor and activate overlay */ 663 /* Set keycolor and activate overlay */
664 XSetWindowBackground(mDisplay, vo_window, key_color.pixel); 664 XSetWindowBackground(mDisplay, vo_window, key_color.pixel);
665 XClearWindow(mDisplay, vo_window); 665 XClearWindow(mDisplay, vo_window);