Mercurial > mplayer.hg
comparison libvo/vo_x11.c @ 5566:e01c664def74
VFCAP added
author | arpi |
---|---|
date | Thu, 11 Apr 2002 21:07:00 +0000 |
parents | 310b06d372d0 |
children | 1972c3475d93 |
comparison
equal
deleted
inserted
replaced
5565:0b301fec999a | 5566:e01c664def74 |
---|---|
567 if(verbose > 2) | 567 if(verbose > 2) |
568 printf("vo_x11: query_format was called: %x (%s)\n",format,vo_format_name(format)); | 568 printf("vo_x11: query_format was called: %x (%s)\n",format,vo_format_name(format)); |
569 if (IMGFMT_IS_BGR(format)) | 569 if (IMGFMT_IS_BGR(format)) |
570 { | 570 { |
571 if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen) | 571 if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen) |
572 return 0x1|0x2|0x4; | 572 return 3|VFCAP_OSD|VFCAP_SWSCALE|VFCAP_FLIP; |
573 else | 573 else |
574 return 0x1|0x4; | 574 return 1|VFCAP_OSD|VFCAP_SWSCALE|VFCAP_FLIP; |
575 } | 575 } |
576 | 576 |
577 switch( format ) | 577 switch( format ) |
578 { | 578 { |
579 // case IMGFMT_BGR15: | 579 // case IMGFMT_BGR15: |
583 // return 0x2; | 583 // return 0x2; |
584 // case IMGFMT_YUY2: | 584 // case IMGFMT_YUY2: |
585 case IMGFMT_I420: | 585 case IMGFMT_I420: |
586 case IMGFMT_IYUV: | 586 case IMGFMT_IYUV: |
587 case IMGFMT_YV12: | 587 case IMGFMT_YV12: |
588 return 0x1|0x4; | 588 return 1|VFCAP_OSD|VFCAP_SWSCALE; |
589 } | 589 } |
590 return 0; | 590 return 0; |
591 } | 591 } |
592 | 592 |
593 | 593 |