From 1cbac3d8718c2fbcb6b3af45728aa0a6edcb8be9 Mon Sep 17 00:00:00 2001 From: Zoran Turalija Date: Thu, 23 Aug 2012 15:44:38 +0200 Subject: [PATCH] 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 --- 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 719318c140..6dda355b62 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 d69381fa1a..2d21e43c8f 100644 --- a/modules/gui/qt4/ui/video_effects.ui +++ b/modules/gui/qt4/ui/video_effects.ui @@ -1785,6 +1785,13 @@ + + + + Anaglyph 3D + + +