[vlc-devel] commit: skins2: redraw a black background required for some skins when resizing ( see wb skins for example) (Erwan Tulou )

git version control git at videolan.org
Sun Sep 6 12:20:11 CEST 2009


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Sep  6 12:05:09 2009 +0200| [18d3f99ac22122c63ad0bee5443eb31f528cd267] | committer: Erwan Tulou 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18d3f99ac22122c63ad0bee5443eb31f528cd267
---

 modules/gui/skins2/controls/ctrl_video.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/controls/ctrl_video.cpp b/modules/gui/skins2/controls/ctrl_video.cpp
index 3053afa..cd346c0 100644
--- a/modules/gui/skins2/controls/ctrl_video.cpp
+++ b/modules/gui/skins2/controls/ctrl_video.cpp
@@ -90,7 +90,7 @@ void CtrlVideo::onPositionChange()
 void CtrlVideo::draw( OSGraphics &rImage, int xDest, int yDest )
 {
     const Position *pPos = getPosition();
-    if( pPos && !m_pVoutWindow )
+    if( pPos )
     {
         // Draw a black rectangle under the video to avoid transparency
         rImage.fillRect( pPos->getLeft(), pPos->getTop(), pPos->getWidth(),




More information about the vlc-devel mailing list