Commit 75562051 authored by Laurent Aimar's avatar Laurent Aimar

Wait for VideoWiget to complete releaseVideoSlot event.

parent 29033fb8
...@@ -195,8 +195,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -195,8 +195,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* VideoWidget connects to avoid different threads speaking to each other */ /* VideoWidget connects to avoid different threads speaking to each other */
CONNECT( this, askReleaseVideo( void ), connect( this, SIGNAL(askReleaseVideo( void )),
this, releaseVideoSlot( void ) ); this, SLOT(releaseVideoSlot( void )), Qt::BlockingQueuedConnection );
if( videoWidget ) if( videoWidget )
CONNECT( this, askVideoToResize( unsigned int, unsigned int ), CONNECT( this, askVideoToResize( unsigned int, unsigned int ),
videoWidget, SetSizing( unsigned int, unsigned int ) ); videoWidget, SetSizing( unsigned int, unsigned int ) );
......
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