[vlc-devel] Re: [PATCH] mosaic improvement: user-defined offsets for substreams

Thomas Parmelan tom+vlc at ankh.fr.EU.org
Mon Sep 25 10:26:39 CEST 2006


Le dimanche 24 septembre 2006 à 19:01, d'après
Antoine Cellerier <dionoea at videolan.org> :

> Applied, thanks.

Thanks. I think the following is needed for the trunk (+ the help
message was missing).


Index: modules/control/rc.c
===================================================================
--- modules/control/rc.c	(revision 16843)
+++ modules/control/rc.c	(working copy)
@@ -970,6 +970,7 @@
         msg_rc(_("| mosaic-width # . . . . . . . . . . . . . . width"));
         msg_rc(_("| mosaic-xoffset # . . . .top left corner position"));
         msg_rc(_("| mosaic-yoffset # . . . .top left corner position"));
+        msg_rc(_("| mosaic-offsets x,y(,x,y)*. . . . list of offsets"));
         msg_rc(_("| mosaic-align 0..2,4..6,8..10. . .mosaic alignment"));
         msg_rc(_("| mosaic-vborder # . . . . . . . . vertical border"));
         msg_rc(_("| mosaic-hborder # . . . . . . . horizontal border"));
@@ -1650,7 +1651,7 @@
         if( strlen( newval.psz_string ) > 0)
         {
             val.psz_string = newval.psz_string;
-            var_Set( p_input->p_libvlc, "mosaic-offsets", val );
+            var_Set( p_input->p_libvlc_global, "mosaic-offsets", val );
         }
     }
     else if( !strcmp( psz_cmd, "mosaic-keep-aspect-ratio" ) )


-- 
Thomas Parmelan

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list