[vlc-commits] commit: Removed an invalid set_capability() in deinterlace. (Laurent Aimar )

git at videolan.org git at videolan.org
Tue Nov 2 21:20:43 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Nov  1 17:30:52 2010 +0100| [cd3b98921dbb0cbc09497f6a43d39a6f5dafa839] | committer: Laurent Aimar 

Removed an invalid set_capability() in deinterlace.

It was called 2 times.

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

 modules/video_filter/deinterlace.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index e30aacc..fd05bd6 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -75,11 +75,10 @@ static const char *const mode_list_text[] = {
 vlc_module_begin ()
     set_description( N_("Deinterlacing video filter") )
     set_shortname( N_("Deinterlace" ))
-    set_capability( "video filter", 0 )
+    set_capability( "video filter2", 0 )
     set_category( CAT_VIDEO )
     set_subcategory( SUBCAT_VIDEO_VFILTER )
 
-    set_capability( "video filter2", 0 )
     add_string( FILTER_CFG_PREFIX "mode", "blend", SOUT_MODE_TEXT,
                 SOUT_MODE_LONGTEXT, false )
         change_string_list( mode_list, mode_list_text, 0 )



More information about the vlc-commits mailing list