diff options
author | 2002-04-28 20:20:06 +0000 | |
---|---|---|
committer | 2002-04-28 20:20:06 +0000 | |
commit | 0a945c970bfc630ae29533208041f65e83e532e9 (patch) | |
tree | 315e50917c51a8122215beeea5b9baac4363e4dd /libvo/vo_directfb.c | |
parent | 55932536f15ec718d78e72fcc122aebf04a9d735 (diff) |
DFB 0.9.10 update patch by Jiri.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5891 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directfb.c')
-rw-r--r-- | libvo/vo_directfb.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libvo/vo_directfb.c b/libvo/vo_directfb.c index 3ef4553d6e..8f6d4271f8 100644 --- a/libvo/vo_directfb.c +++ b/libvo/vo_directfb.c @@ -224,8 +224,16 @@ if (verbose) { if (caps & DLCAPS_ALPHACHANNEL) printf( " - Supports blending based on alpha channel.\n" ); +#ifdef HAVE_DIRECTFB0910 + if (caps & DLCAPS_SRC_COLORKEY) + printf( " - Supports source based color keying.\n" ); + + if (caps & DLCAPS_DST_COLORKEY) + printf( " - Supports destination based color keying.\n" ); +#else if (caps & DLCAPS_COLORKEYING) printf( " - Supports color keying.\n" ); +#endif if (caps & DLCAPS_FLICKER_FILTERING) printf( " - Supports flicker filtering.\n" ); @@ -289,10 +297,10 @@ if (verbose) printf("DirectFB: Preinit entered\n"); DFBCHECK (DirectFBSetOption ("fbdev",fb_dev_name)); } - // disable YV12 for dfb 0.9.9 - there is a bug in dfb! + // disable YV12 for dfb until 0.9.10 - there is a bug in dfb! should be revised with every dfb version until bug is fixed in dfb. if ((directfb_major_version <= 0) && (directfb_minor_version <= 9) && - (directfb_micro_version <= 9)) { + (directfb_micro_version <= 10)) { buggyYV12BitBlt=1; if (verbose) printf("DirectFB: Buggy YV12BitBlt!\n"); } |