Commit 9a39ccb2 authored by Marian Durkovic's avatar Marian Durkovic

use the new values when resizing

parent bad9d939
...@@ -523,8 +523,7 @@ int VlcProc::controlWindow( intf_thread_t *pIntf, void *pWindow, ...@@ -523,8 +523,7 @@ int VlcProc::controlWindow( intf_thread_t *pIntf, void *pWindow,
// Post a resize vout command // Post a resize vout command
CmdResizeVout *pCmd = CmdResizeVout *pCmd =
new CmdResizeVout( pThis->getIntf(), pWindow, new CmdResizeVout( pThis->getIntf(), pWindow,
pThis->m_pVout->i_window_width, i_width, i_height );
pThis->m_pVout->i_window_height );
AsyncQueue *pQueue = AsyncQueue::instance( pThis->getIntf() ); AsyncQueue *pQueue = AsyncQueue::instance( pThis->getIntf() );
pQueue->push( CmdGenericPtr( pCmd ) ); pQueue->push( CmdGenericPtr( pCmd ) );
} }
......
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