Commit e2499dc3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove BlockingQueuedConnection, hopefully not needed

parent b1851431
...@@ -73,13 +73,8 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i ) ...@@ -73,13 +73,8 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
setPalette( plt ); setPalette( plt );
setAttribute( Qt::WA_PaintOnScreen, true ); setAttribute( Qt::WA_PaintOnScreen, true );
/* The core can ask through a callback to show the video. /* The core can ask through a callback to show the video. */
* NOTE: We need to block the video output core until the window handle CONNECT( this, askVideoWidgetToShow(), this, show() );
* is ready for use (otherwise an X11 invalid handle failure may occur).
* As a side effect, it is illegal to emit askVideoWidgetToShow from
* the same thread as the Qt4 thread that owns this. */
QObject::connect( this, SIGNAL(askVideoWidgetToShow()), this, SLOT(show()),
Qt::BlockingQueuedConnection );
/* The core can ask through a callback to resize the video */ /* The core can ask through a callback to resize the video */
// CONNECT( this, askResize( int, int ), this, SetSizing( int, int ) ); // CONNECT( this, askResize( int, int ), this, SetSizing( int, 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