/* Set the Widget to the correct Size */
void VideoWidget::SetSizing( unsigned int w, unsigned int h )
{
+ widgetSize = QSize( w, h );
resize( w, h );
//updateGeometry(); // Needed for deinterlace
msg_Dbg( p_intf, "%i %i", sizeHint().height(), sizeHint().width() );
dockPL->setAllowedAreas( Qt::LeftDockWidgetArea
| Qt::RightDockWidgetArea
| Qt::BottomDockWidgetArea );
+ dockPL->hide();
/************
* Menu Bar
/* videoWidget->widgetSize = QSize( *pi_width, *pi_height );
}*/
- videoWidget->widgetSize = QSize( *pi_width, *pi_height );
- emit askVideoToResize( *pi_width, *pi_height );
-
videoIsActive = true;
+
+ emit askVideoToResize( *pi_width, *pi_height );
emit askUpdate();
}
return ret;
{
unsigned int i_width = va_arg( args, unsigned int );
unsigned int i_height = va_arg( args, unsigned int );
- videoWidget->widgetSize = QSize( i_width, i_height );
- videoWidget->updateGeometry();
+ emit askVideoToResize( i_width, i_height );
+ emit askUpdate();
updateGeometry();
i_ret = VLC_SUCCESS;
break;