vlc_linux/vlc-3.0.16/modules/gui/qt/menus.cpp
/**
 * Main Video Menu
 * Subtitles are part of Video.
 **/
Main Video Menu
Subtitles are part of Video.
Main Video Menu Subtitles are part of Video .
QMenu *VLCMenuBar::VideoMenu( intf_thread_t *p_intf, QMenu *current )
{
    input_thread_t *p_input;
    QVector<vlc_object_t *> objects;
    QVector<const char *> varnames;
    if( current->isEmpty() )
    {
        addActionWithSubmenu( current, "video-es", qtr( "Video &Track" ) );
        current->addSeparator();
        addActionWithCheckbox( current, "fullscreen", qtr( "&Fullscreen" ) );
        addActionWithCheckbox( current, "autoscale", qtr( "Always Fit &Window" ) );
        addActionWithCheckbox( current, "video-wallpaper", qtr( "Set as Wall&paper" ) );
        current->addSeparator();
        addActionWithSubmenu( current, "zoom", qtr( "&Zoom" ) );
        addActionWithSubmenu( current, "aspect-ratio", qtr( "&Aspect Ratio" ) );
        addActionWithSubmenu( current, "crop", qtr( "&Crop" ) );
        current->addSeparator();
        addActionWithSubmenu( current, "deinterlace", qtr( "&Deinterlace" ) );
        addActionWithSubmenu( current, "deinterlace-mode", qtr( "&Deinterlace mode" ) );
        current->addSeparator();
        addAction( current, "video-snapshot", qtr( "Take &Snapshot" ) );
    }
    p_input = THEMIM->getInput();
    VideoAutoMenuBuilder( THEPL, p_input, objects, varnames );
    return Populate( p_intf, current, varnames, objects );
}
QMenu * VLCMenuBar :: VideoMenu ( intf_thread_t * p_intf , QMenu * current ) { input_thread_t * p_input ; QVector < vlc_object_t * > objects ; QVector < const char * > varnames ; if ( current -> isEmpty ( ) ) { addActionWithSubmenu ( current , " " , qtr ( " " ) ) ; current -> addSeparator ( ) ; addActionWithCheckbox ( current , " " , qtr ( " " ) ) ; addActionWithCheckbox ( current , " " , qtr ( " " ) ) ; addActionWithCheckbox ( current , " " , qtr ( " " ) ) ; current -> addSeparator ( ) ; addActionWithSubmenu ( current , " " , qtr ( " " ) ) ; addActionWithSubmenu ( current , " " , qtr ( " " ) ) ; addActionWithSubmenu ( current , " " , qtr ( " " ) ) ; current -> addSeparator ( ) ; addActionWithSubmenu ( current , " " , qtr ( " " ) ) ; addActionWithSubmenu ( current , " " , qtr ( " " ) ) ; current -> addSeparator ( ) ; addAction ( current , " " , qtr ( " " ) ) ; } p_input = THEMIM -> getInput ( ) ; VideoAutoMenuBuilder ( THEPL , p_input , objects , varnames ) ; return Populate ( p_intf , current , varnames , objects ) ; }
Main Video Menu
 Subtitles are part of Video.
Main Video Menu Subtitles are part of Video .
/* Surface modifiers */ /* Size modifiers */ /* Rendering modifiers */ /* Other actions */