[vlc-commits] commit: logo: set default x/y=-1 so position is actually used ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Mon Jun 14 18:25:32 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Jun 14 19:25:23 2010 +0300| [c2fd9461c3927377966ecac990464f65b3f512a8] | committer: Ilkka Ollakka 

logo: set default x/y=-1 so position is actually used

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

 modules/video_filter/logo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c
index 20a3c36..d3188b9 100644
--- a/modules/video_filter/logo.c
+++ b/modules/video_filter/logo.c
@@ -94,8 +94,8 @@ vlc_module_begin ()
     add_shortcut( "logo" )
 
     add_file( CFG_PREFIX "file", NULL, NULL, FILE_TEXT, FILE_LONGTEXT, false )
-    add_integer( CFG_PREFIX "x", 0, NULL, POSX_TEXT, POSX_LONGTEXT, true )
-    add_integer( CFG_PREFIX "y", 0, NULL, POSY_TEXT, POSY_LONGTEXT, true )
+    add_integer( CFG_PREFIX "x", -1, NULL, POSX_TEXT, POSX_LONGTEXT, true )
+    add_integer( CFG_PREFIX "y", -1, NULL, POSY_TEXT, POSY_LONGTEXT, true )
     /* default to 1000 ms per image, continuously cycle through them */
     add_integer( CFG_PREFIX "delay", 1000, NULL, DELAY_TEXT, DELAY_LONGTEXT, true )
     add_integer( CFG_PREFIX "repeat", -1, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, true )



More information about the vlc-commits mailing list