[vlc-commits] commit: Do not use video_filter wrapper for puzzle/magnify/logo. ( Laurent Aimar )

git at videolan.org git at videolan.org
Sat Apr 17 23:23:59 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Apr 13 22:33:46 2010 +0200| [9580417f22c2b5a68daf68cb5808b506a12311f9] | committer: Laurent Aimar 

Do not use video_filter wrapper for puzzle/magnify/logo.

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

 modules/gui/qt4/components/extended_panels.cpp |    5 +----
 modules/video_filter/wrapper.c                 |   13 -------------
 2 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 9296c57..3c1c990 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -274,10 +274,7 @@ void ExtVideo::ChangeVFiltersString( const char *psz_name, bool b_add )
 
     /* FIXME temporary hack */
     const char *psz_module_name = psz_name;
-    if( !strcmp( psz_name, "magnify" ) ||
-        !strcmp( psz_name, "puzzle" ) ||
-        !strcmp( psz_name, "logo" ) ||
-        !strcmp( psz_name, "wall" ) ||
+    if( !strcmp( psz_name, "wall" ) ||
         !strcmp( psz_name, "panoramix" ) ||
         !strcmp( psz_name, "clone" ) )
         psz_module_name = "video_filter_wrapper";
diff --git a/modules/video_filter/wrapper.c b/modules/video_filter/wrapper.c
index 0f45f51..99ff427 100644
--- a/modules/video_filter/wrapper.c
+++ b/modules/video_filter/wrapper.c
@@ -47,10 +47,6 @@ static void Close( vlc_object_t * );
 #define DECLARE_OPEN(name,filter) \
     static int  Open##name ( vlc_object_t *p_this ) { return Open( p_this, #name, filter ); }
 
-DECLARE_OPEN(magnify, true)
-DECLARE_OPEN(puzzle, true)
-DECLARE_OPEN(logo, true)
-
 DECLARE_OPEN(clone, false)
 DECLARE_OPEN(wall, false)
 DECLARE_OPEN(panoramix, false)
@@ -68,15 +64,6 @@ vlc_module_begin()
     set_category( CAT_VIDEO )
     set_subcategory( SUBCAT_VIDEO_VFILTER )
 
-    DECLARE_MODULE(magnify)
-
-    add_submodule()
-    DECLARE_MODULE(puzzle)
-
-    add_submodule()
-    DECLARE_MODULE(logo)
-
-    add_submodule()
     DECLARE_MODULE(clone)
 
     add_submodule()



More information about the vlc-commits mailing list