summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClaudio Ciccani <klan@users.sourceforge.net>2006-09-02 13:26:00 +0000
committerClaudio Ciccani <klan@users.sourceforge.net>2006-09-02 13:26:00 +0000
commitabbb98dd9400b4353aff7222b3a82c1198361082 (patch)
treece713abe0f13e564efc2bea373e0721dce4b8553 /src
parentf491b676b3c5bb1ea861ee98dfeb69e7b218ae33 (diff)
downloadxine-lib-abbb98dd9400b4353aff7222b3a82c1198361082.tar.gz
xine-lib-abbb98dd9400b4353aff7222b3a82c1198361082.tar.bz2
Disabled support for subpicture overlay bacause of problems with Matrox's
CRTC2 Subpicture. CVS patchset: 8192 CVS date: 2006/09/02 13:26:00
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_directfb.c6
1 files changed, 3 insertions, 3 deletions
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) {