updateGeometry(); // Needed for deinterlace
}
-void VideoWidget::release( void *p_win )
+void VideoWidget::release( void )
{
msg_Dbg( p_intf, "Video is not needed anymore" );
p_vout = NULL;
void *request( vout_thread_t *, int *, int *,
unsigned int *, unsigned int * );
- void release( void * );
+ void release( void );
int control( void *, int, va_list );
virtual QSize sizeHint() const;
/* VideoWidget connects to avoid different threads speaking to each other */
- CONNECT( this, askReleaseVideo( void * ),
- this, releaseVideoSlot( void * ) );
+ CONNECT( this, askReleaseVideo( void ),
+ this, releaseVideoSlot( void ) );
if( videoWidget )
CONNECT( this, askVideoToResize( unsigned int, unsigned int ),
videoWidget, SetSizing( unsigned int, unsigned int ) );
}
/* Call from the WindowClose function */
-void MainInterface::releaseVideo( void *p_win )
+void MainInterface::releaseVideo( void )
{
if( fullscreenControls ) fullscreenControls->detachVout();
- if( p_win )
- emit askReleaseVideo( p_win );
+ emit askReleaseVideo( );
}
/* Function that is CONNECTED to the previous emit */
-void MainInterface::releaseVideoSlot( void *p_win )
+void MainInterface::releaseVideoSlot( void )
{
- videoWidget->release( p_win );
+ videoWidget->release( );
if( bgWasVisible )
{
void *requestVideo( vout_thread_t *p_nvout, int *pi_x,
int *pi_y, unsigned int *pi_width,
unsigned int *pi_height );
- void releaseVideo( void * );
+ void releaseVideo( void );
int controlVideo( void *p_window, int i_query, va_list args );
/* Getters */
void toggleFSC();
/* Manage the Video Functions from the vout threads */
- void releaseVideoSlot( void * );
+ void releaseVideoSlot( void );
private slots:
void debug();
void showSpeedMenu( QPoint );
void updateRecentsMenu();
signals:
- void askReleaseVideo( void * );
+ void askReleaseVideo( );
void askVideoToResize( unsigned int, unsigned int );
void askVideoToToggle();
void askBgWidgetToToggle();
QMutexLocker locker (&iface.lock);
msg_Dbg (obj, "releasing video...");
- p_mi->releaseVideo (wnd->handle);
+ p_mi->releaseVideo ();
}