]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/clone.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / video_filter / clone.c
index a96169b87fed0dabde2ce3430a07de2394022922..33b461cbf55ed033be6653b355fb4c918f922db2 100644 (file)
@@ -44,6 +44,8 @@
 #define VOUTLIST_LONGTEXT N_("You can use specific video output modules " \
         "for the clones. Use a comma-separated list of modules." )
 
+#define CLONE_HELP N_("Duplicate your video to multiple windows " \
+        "and/or video output modules")
 #define CFG_PREFIX "clone-"
 
 static int  Open ( vlc_object_t * );
@@ -53,6 +55,7 @@ vlc_module_begin ()
     set_description( N_("Clone video filter") )
     set_capability( "video splitter", 0 )
     set_shortname( N_("Clone" ))
+    set_help(CLONE_HELP)
     set_category( CAT_VIDEO )
     set_subcategory( SUBCAT_VIDEO_VFILTER )
 
@@ -143,8 +146,8 @@ static int Open( vlc_object_t *p_this )
     {
         video_splitter_output_t *p_cfg = &p_splitter->p_output[i];
         video_format_Copy( &p_cfg->fmt, &p_splitter->fmt );
-        p_cfg->window.i_x = -1;
-        p_cfg->window.i_y = -1;
+        p_cfg->window.i_x = 0;
+        p_cfg->window.i_y = 0;
         p_cfg->window.i_align = 0;
     }