comparison libvo/vo_x11.c @ 5163:566c4db606aa

Add a (more or less dummy) reference to vo_format_name(), to pull the img_format.o object from libvo.a on solaris. The typical set of libvo video drivers on solaris didn't reference this symbol, but a library at the end of the link command for mplayer requires this function.
author jkeil
date Sun, 17 Mar 2002 15:11:44 +0000
parents 305b1fbde890
children f23cea00d19c
comparison
equal deleted inserted replaced
5162:3cc3a36e3d0d 5163:566c4db606aa
551 return(VO_TRUE); 551 return(VO_TRUE);
552 } 552 }
553 553
554 static uint32_t query_format( uint32_t format ) 554 static uint32_t query_format( uint32_t format )
555 { 555 {
556 if(verbose > 2)
557 printf("vo_x11: query_format was called: %x (%s)\n",format,vo_format_name(format));
556 if (IMGFMT_IS_BGR(format)) 558 if (IMGFMT_IS_BGR(format))
557 { 559 {
558 if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen) 560 if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen)
559 return 0x1|0x2|0x4; 561 return 0x1|0x2|0x4;
560 else 562 else