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 7fc04c4 commit d5310a0
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 @@ -31,7 +31,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 d5310a0

Please sign in to comment.