vlc | branch: master | Zoran Turalija <[email protected]> | Thu Aug 23 
15:44:38 2012 +0200| [1cbac3d8718c2fbcb6b3af45728aa0a6edcb8be9] | committer: 
Jean-Baptiste Kempf

Qt: Add Anaglyph 3D video filter to effects dialog.

Add new option in Tools/Effects and Filters/Video Effects/Advanced GUI
to toggle on/off Anaglyph 3D video filter.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cbac3d8718c2fbcb6b3af45728aa0a6edcb8be9
---

 modules/gui/qt4/components/extended_panels.cpp |    5 ++++-
 modules/gui/qt4/ui/video_effects.ui            |    7 +++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp 
b/modules/gui/qt4/components/extended_panels.cpp
index 719318c..6dda355 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -247,6 +247,8 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget 
*_parent ) :
         _parent->removeTab( _parent->indexOf( ui.tab_atmo ) );
     }
 
+    SETUP_VFILTER( anaglyph )
+
 #undef SETUP_VFILTER
 #undef SETUP_VFILTER_OPTION
 
@@ -685,7 +687,8 @@ void ExtVideo::gotoConf( QObject* src )
     SHOWCONF( "puzzle" );
     SHOWCONF( "wall" );
     SHOWCONF( "gradient" );
-    SHOWCONF( "colorthres" )
+    SHOWCONF( "colorthres" );
+    SHOWCONF( "anaglyph" )
 }
 #endif
 
diff --git a/modules/gui/qt4/ui/video_effects.ui 
b/modules/gui/qt4/ui/video_effects.ui
index d69381f..2d21e43 100644
--- a/modules/gui/qt4/ui/video_effects.ui
+++ b/modules/gui/qt4/ui/video_effects.ui
@@ -1785,6 +1785,13 @@
       </property>
      </widget>
     </item>
+    <item row="8" column="2">
+     <widget class="QCheckBox" name="anaglyphEnable">
+      <property name="text">
+       <string>Anaglyph 3D</string>
+      </property>
+     </widget>
+    </item>
    </layout>
   </widget>
  </widget>

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to