Commit 2623becc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent 5c887aed
...@@ -60,7 +60,8 @@ vlc_module_begin () ...@@ -60,7 +60,8 @@ vlc_module_begin ()
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
add_integer( CFG_PREFIX "count", 2, COUNT_TEXT, COUNT_LONGTEXT, false ) 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" ) add_shortcut( "clone" )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
...@@ -73,7 +74,7 @@ static const char *const ppsz_filter_options[] = { ...@@ -73,7 +74,7 @@ static const char *const ppsz_filter_options[] = {
"count", "vout-list", NULL "count", "vout-list", NULL
}; };
#define VOUTSEPARATOR ',' #define VOUTSEPARATOR ':'
static int Filter( video_splitter_t *, picture_t *pp_dst[], picture_t * ); static int Filter( video_splitter_t *, picture_t *pp_dst[], picture_t * );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment