]> git.sesse.net Git - vlc/commitdiff
Qt: Add Anaglyph 3D video filter to effects dialog.
authorZoran Turalija <zoran.turalija@gmail.com>
Thu, 23 Aug 2012 13:44:38 +0000 (15:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 28 Aug 2012 15:56:43 +0000 (17:56 +0200)
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 <jb@videolan.org>
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/ui/video_effects.ui

index 719318c1402489fe94f67f070a98bc0bd94adc04..6dda355b62870ff1ee5354b244f145c9b57fd005 100644 (file)
@@ -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
 
index d69381fa1a5f356410f6ab25c6f3309fc92562fa..2d21e43c8fcf6fe0925c229dbfaf12bb632a60b4 100644 (file)
       </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>