Mercurial > mplayer.hg
comparison libvo/vo_dxr3.c @ 7151:9e17b153b785
- fix window handling with dxr3
- workaround dxr3 subpicture size with freetype osd rendering
author | pontscho |
---|---|
date | Thu, 29 Aug 2002 23:15:24 +0000 |
parents | eca7dbad0166 |
children | 5cac037fcdd3 |
comparison
equal
deleted
inserted
replaced
7150:b212f74e14ec | 7151:9e17b153b785 |
---|---|
321 printf("VO: [dxr3] Setting aspect ratio to 16:9\n"); | 321 printf("VO: [dxr3] Setting aspect ratio to 16:9\n"); |
322 } | 322 } |
323 ioctl(fd_control, EM8300_IOCTL_SET_ASPECTRATIO, &ioval); | 323 ioctl(fd_control, EM8300_IOCTL_SET_ASPECTRATIO, &ioval); |
324 | 324 |
325 #ifdef SPU_SUPPORT | 325 #ifdef SPU_SUPPORT |
326 #ifdef HAVE_FREETYPE | |
327 s_width*=1.5; | |
328 #else | |
326 s_width*=2; | 329 s_width*=2; |
327 s_height*=2; | 330 s_height*=2; |
331 #endif | |
328 | 332 |
329 osdpicbuf = calloc( 1,s_width * s_height); | 333 osdpicbuf = calloc( 1,s_width * s_height); |
330 if (osdpicbuf == NULL) { | 334 if (osdpicbuf == NULL) { |
331 printf("vo_dxr3: out of mem\n"); | 335 printf("vo_dxr3: out of mem\n"); |
332 return -1; | 336 return -1; |