From b14a78fe212cf9f00258834273dbc45519f33a4b Mon Sep 17 00:00:00 2001 From: Cyberbeing Date: Tue, 2 Dec 2014 01:26:37 -0800 Subject: [PATCH] CompositionObject: Set color palette to be transparent by default. This fixes some PGS subtitles having opaque background instead of transparent. Based on commit by kasper93 @MPC-HC --- src/subtitles/CompositionObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtitles/CompositionObject.cpp b/src/subtitles/CompositionObject.cpp index c37e2a05e..8a4bf0974 100644 --- a/src/subtitles/CompositionObject.cpp +++ b/src/subtitles/CompositionObject.cpp @@ -30,7 +30,7 @@ CompositionObject::CompositionObject() m_nRLEDataSize = 0; m_nRLEPos = 0; - memsetd(m_Colors, 0xFF000000, sizeof(m_Colors)); + memsetd(m_Colors, 0x00000000, sizeof(m_Colors)); } CompositionObject::~CompositionObject()