[vlc-devel] [PATCH 5/7] qt: add the selection of the video projection mode

Steve Lhomme robux4 at videolabs.io
Mon Sep 12 14:01:35 CEST 2016


---
 modules/gui/qt/menus.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/gui/qt/menus.cpp b/modules/gui/qt/menus.cpp
index 8af0317..44d7b41 100644
--- a/modules/gui/qt/menus.cpp
+++ b/modules/gui/qt/menus.cpp
@@ -248,6 +248,7 @@ static int VideoAutoMenuBuilder( playlist_t *pl, input_thread_t *p_input,
     PUSH_VAR( "crop" );
     PUSH_VAR( "deinterlace" );
     PUSH_VAR( "deinterlace-mode" );
+    PUSH_VAR( "projection" );
 
     VLCMenuBar::ppMenu->setEnabled( p_object != NULL );
 
@@ -696,6 +697,10 @@ QMenu *VLCMenuBar::VideoMenu( intf_thread_t *p_intf, QMenu *current )
         current->addSeparator();
         /* Other actions */
         addAction( current, "video-snapshot", qtr( "Take &Snapshot" ) );
+
+        current->addSeparator();
+        /* Projection modifiers */
+        addActionWithSubmenu( current, "projection", qtr( "&Projection mode" ) );
     }
 
     p_input = THEMIM->getInput();
-- 
2.8.2



More information about the vlc-devel mailing list