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

Steve Lhomme robux4 at ycbcr.xyz
Thu Aug 16 11:00:48 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 1f877cba58..bde8c00746 100644
--- a/modules/gui/qt/menus.cpp
+++ b/modules/gui/qt/menus.cpp
@@ -238,6 +238,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" );
@@ -679,6 +680,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