]> git.sesse.net Git - vlc/commitdiff
use the new values when resizing
authorMarian Durkovic <md@videolan.org>
Thu, 3 Nov 2005 08:22:13 +0000 (08:22 +0000)
committerMarian Durkovic <md@videolan.org>
Thu, 3 Nov 2005 08:22:13 +0000 (08:22 +0000)
modules/gui/skins2/src/vlcproc.cpp

index c047b5204b90ead6ff566a3c5941e13db03064fb..7c7a36c0822140ea3c356e1f78f8f1a5ec10a0b3 100644 (file)
@@ -523,8 +523,7 @@ int VlcProc::controlWindow( intf_thread_t *pIntf, void *pWindow,
                 // Post a resize vout command
                 CmdResizeVout *pCmd =
                     new CmdResizeVout( pThis->getIntf(), pWindow,
-                                       pThis->m_pVout->i_window_width,
-                                       pThis->m_pVout->i_window_height );
+                                       i_width, i_height );
                 AsyncQueue *pQueue = AsyncQueue::instance( pThis->getIntf() );
                 pQueue->push( CmdGenericPtr( pCmd ) );
             }