[vlc-commits] Use normal module list for --video-splitter

Rémi Denis-Courmont git at videolan.org
Wed Jul 25 17:37:31 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 25 18:36:46 2012 +0300| [5c887aed6a94874dabae906df1541768a307bd0b] | committer: Rémi Denis-Courmont

Use normal module list for --video-splitter

This avoids listing all video filters (not splitters!). However, the
video splitters are still wrongly included in the --video-filter list.

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

 src/libvlc-module.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index d770358..d96d607 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1642,8 +1642,8 @@ vlc_module_begin ()
     set_subcategory( SUBCAT_VIDEO_VFILTER )
     add_module_list_cat( "video-filter", SUBCAT_VIDEO_VFILTER, NULL,
                 VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT, false )
-    add_module_list_cat( "video-splitter", SUBCAT_VIDEO_VFILTER, NULL,
-                        VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT, false )
+    add_module_list( "video-splitter", "video splitter", NULL,
+                     VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT, false )
     add_obsolete_string( "vout-filter" ) /* since 2.0.0 */
 #if 0
     add_string( "pixel-ratio", "1", PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT )



More information about the vlc-commits mailing list