Skip to content

Commit

Permalink
CompositionObject: Set color palette to be transparent by default.
Browse files Browse the repository at this point in the history
This fixes some PGS subtitles having opaque background instead of transparent.
Based on commit by kasper93 @mpc-hc
  • Loading branch information
Cyberbeing committed Dec 2, 2014
1 parent 6091297 commit b14a78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtitles/CompositionObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b14a78f

Please sign in to comment.