]> git.sesse.net Git - vlc/commitdiff
Temporary workaround for video filter wrapper in qt4 (puzzle).
authorLaurent Aimar <fenrir@videolan.org>
Thu, 4 Jun 2009 19:06:13 +0000 (21:06 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 4 Jun 2009 19:08:59 +0000 (21:08 +0200)
modules/gui/qt4/components/extended_panels.cpp

index f68e64c0af91acf881a919379bc9fafceb31face..ad72760492394aac5102c5d13bda5c2ee9966132 100644 (file)
@@ -257,7 +257,8 @@ 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" ) )
+    if( !strcmp( psz_name, "magnify" ) ||
+        !strcmp( psz_name, "puzzle" ) )
         psz_module_name = "video_filter_wrapper";
 
     module_t *p_obj = module_find( psz_module_name );