Commit 0b9fa694 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fixing message debug to help fixing some issues.

parent e0600d46
......@@ -1017,12 +1017,12 @@ void FullscreenControllerWidget::fullscreenChanged( vout_thread_t *p_vout,
bool b_fs, int i_timeout )
{
/* FIXME - multiple vout (ie multiple mouse position ?) and thread safety if multiple vout ? */
msg_Dbg( p_vout, "Qt: Entering Fullscreen" );
vlc_mutex_lock( &lock );
/* Entering fullscreen, register callback */
if( b_fs && !b_fullscreen )
{
msg_Dbg( p_vout, "Qt: Entering Fullscreen" );
b_fullscreen = true;
i_hide_timeout = i_timeout;
var_AddCallback( p_vout, "mouse-moved",
......@@ -1031,6 +1031,7 @@ void FullscreenControllerWidget::fullscreenChanged( vout_thread_t *p_vout,
/* Quitting fullscreen, unregistering callback */
else if( !b_fs && b_fullscreen )
{
msg_Dbg( p_vout, "Qt: Quitting Fullscreen" );
b_fullscreen = false;
i_hide_timeout = i_timeout;
var_DelCallback( p_vout, "mouse-moved",
......
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