vlc_linux/vlc-3.0.16/modules/gui/qt/main_interface.cpp
/**
 * NOTE:
 * You must not change the state of this object or other Qt UI objects,
 * from the video output thread - only from the Qt UI main loop thread.
 * All window provider queries must be handled through signals or events.
 * That's why we have all those emit statements...
 */
You must not change the state of this object or other Qt UI objects,
from the video output thread - only from the Qt UI main loop thread.
All window provider queries must be handled through signals or events.
That's why we have all those emit statements
You must not change the state of this object or other Qt UI objects from the video output thread - only from the Qt UI main loop thread . All window provider queries must be handled through signals or events . That ' s why we have all those emit statements
bool MainInterface::getVideo( struct vout_window_t *p_wnd,
                              unsigned int i_width, unsigned int i_height,
                              bool fullscreen )
{
    bool result;
    emit askGetVideo( p_wnd, i_width, i_height, fullscreen, &result );
    return result;
}
bool MainInterface :: getVideo ( struct vout_window_t * p_wnd , unsigned int i_width , unsigned int i_height , bool fullscreen ) { bool result ; emit askGetVideo ( p_wnd , i_width , i_height , fullscreen , & result ) ; return result ; }
NOTE:
 You must not change the state of this object or other Qt UI objects,
 from the video output thread - only from the Qt UI main loop thread.
NOTE : You must not change the state of this object or other Qt UI objects from the video output thread - only from the Qt UI main loop thread .
/* This is a blocking call signal. Results are stored directly in the
     * vout_window_t and boolean pointers. Beware of deadlocks! */