From abbb98dd9400b4353aff7222b3a82c1198361082 Mon Sep 17 00:00:00 2001 From: Claudio Ciccani Date: Sat, 2 Sep 2006 13:26:00 +0000 Subject: Disabled support for subpicture overlay bacause of problems with Matrox's CRTC2 Subpicture. CVS patchset: 8192 CVS date: 2006/09/02 13:26:00 --- src/video_out/video_out_directfb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c index 6f3758a8c..82d831c6b 100644 --- a/src/video_out/video_out_directfb.c +++ b/src/video_out/video_out_directfb.c @@ -452,7 +452,7 @@ static void directfb_subpicture_paint (directfb_driver_t *this, if (!colors[index].a) { YCBCR_TO_RGB (color.y, color.cb, color.cr, colors[index].r, colors[index].g, colors[index].b); - colors[index].a = alpha * 17; + colors[index].a = alpha | (alpha << 4); } lprintf ("color change to %02x%02x%02x%02x.\n", @@ -1395,7 +1395,7 @@ static void init_subpicture (directfb_driver_t *this) { } } } - +#if 0 /* most common type of supicture layer */ if (!this->spic_layer) { IDirectFBScreen *screen; @@ -1434,7 +1434,7 @@ static void init_subpicture (directfb_driver_t *this) { } } } - +#endif if (this->spic_layer) { ret = this->spic_layer->GetSurface (this->spic_layer, &this->spic_surface); if (ret) { -- cgit v1.2.3