[vlc-commits] clone: use module_list() for --clone-vout-list

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 25 18:42:52 2012 +0300| [2623beccb316efdaf62fe044440a7db72c8b2413] | committer: Rémi Denis-Courmont

clone: use module_list() for --clone-vout-list

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

 modules/video_filter/clone.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/clone.c b/modules/video_filter/clone.c
index cb8790c..ad73603 100644
--- a/modules/video_filter/clone.c
+++ b/modules/video_filter/clone.c
@@ -60,7 +60,8 @@ vlc_module_begin ()
     set_subcategory( SUBCAT_VIDEO_VFILTER )
 
     add_integer( CFG_PREFIX "count", 2, COUNT_TEXT, COUNT_LONGTEXT, false )
-    add_string ( CFG_PREFIX "vout-list", NULL, VOUTLIST_TEXT, VOUTLIST_LONGTEXT, true )
+    add_module_list( CFG_PREFIX "vout-list", "vout display", NULL,
+                     VOUTLIST_TEXT, VOUTLIST_LONGTEXT, true )
 
     add_shortcut( "clone" )
     set_callbacks( Open, Close )
@@ -73,7 +74,7 @@ static const char *const ppsz_filter_options[] = {
     "count", "vout-list", NULL
 };
 
-#define VOUTSEPARATOR ','
+#define VOUTSEPARATOR ':'
 
 static int Filter( video_splitter_t *, picture_t *pp_dst[], picture_t * );
 



More information about the vlc-commits mailing list