[vlc-devel] [PATCH 6/9] qt: add menu options for 3d output

Steve Lhomme robux4 at ycbcr.xyz
Sat Oct 27 08:46:32 CEST 2018


From: "Mohammed (Shaan) Huzaifa Danish" <shaan3 at gmail.com>

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
---
 modules/gui/qt/menus.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/gui/qt/menus.cpp b/modules/gui/qt/menus.cpp
index eab268b6db..005dfaf184 100644
--- a/modules/gui/qt/menus.cpp
+++ b/modules/gui/qt/menus.cpp
@@ -237,6 +237,7 @@ static int VideoAutoMenuBuilder( playlist_t *pl, input_thread_t *p_input,
     PUSH_PLVAR( "fullscreen" );
     PUSH_PLVAR( "video-wallpaper" );
     PUSH_VAR( "video-snapshot" );
+    PUSH_VAR( "video-stereo-mode" );
     PUSH_VAR( "zoom" );
     PUSH_VAR( "autoscale" );
     PUSH_VAR( "aspect-ratio" );
@@ -678,6 +679,9 @@ QMenu *VLCMenuBar::VideoMenu( intf_thread_t *p_intf, QMenu *current )
     {
         addActionWithSubmenu( current, "video-es", qtr( "Video &Track" ) );
 
+        current->addSeparator();
+        addActionWithSubmenu( current, "video-stereo-mode", qtr( "&3D Output" ) );
+
         current->addSeparator();
         /* Surface modifiers */
         addActionWithCheckbox( current, "fullscreen", qtr( "&Fullscreen" ) );
-- 
2.17.0



More information about the vlc-devel mailing list