Commit 6b7b7920 authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by Jean-Baptiste Kempf

vout core: drop invalid palette

This fixes numerous DVD issues with menus reported

Close #18303
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent a0ef58d7
......@@ -763,15 +763,11 @@ static void SpuRenderRegion(spu_t *spu,
changed_palette = true;
}
/* Patch fully transparent broken palette for cropping */
if( !b_opaque )
{
new_palette.palette[1][3] = 0x0f;
new_palette.palette[2][3] = 0x0f;
new_palette.palette[3][3] = 0x0f;
}
/* Reject fully transparent broken palette for cropping */
changed_palette &= b_opaque;
*old_palette = new_palette;
if( changed_palette )
*old_palette = new_palette;
}
/* */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment