Commit 18d3f99a authored by Erwan Tulou's avatar Erwan Tulou

skins2: redraw a black background required for some skins when resizing (see wb skins for example)

parent 0f52459b
...@@ -90,7 +90,7 @@ void CtrlVideo::onPositionChange() ...@@ -90,7 +90,7 @@ void CtrlVideo::onPositionChange()
void CtrlVideo::draw( OSGraphics &rImage, int xDest, int yDest ) void CtrlVideo::draw( OSGraphics &rImage, int xDest, int yDest )
{ {
const Position *pPos = getPosition(); const Position *pPos = getPosition();
if( pPos && !m_pVoutWindow ) if( pPos )
{ {
// Draw a black rectangle under the video to avoid transparency // Draw a black rectangle under the video to avoid transparency
rImage.fillRect( pPos->getLeft(), pPos->getTop(), pPos->getWidth(), rImage.fillRect( pPos->getLeft(), pPos->getTop(), pPos->getWidth(),
......
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