[vlc-commits] commit: video-x, video-y: make zero the default ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sat Mar 6 21:39:19 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 6 22:35:01 2010 +0200| [2a919991ceb0d741b04abb992368fafcbd813e20] | committer: Rémi Denis-Courmont
video-x, video-y: make zero the default
-1 is a legal coordinate for a window (both in X11 and Win32).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a919991ceb0d741b04abb992368fafcbd813e20
---
src/libvlc-module.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 9398a04..b2bace3 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1697,9 +1697,9 @@ vlc_module_begin ()
change_safe ()
add_integer( "height", -1, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT, true )
change_safe ()
- add_integer( "video-x", -1, NULL, VIDEOX_TEXT, VIDEOX_LONGTEXT, true )
+ add_integer( "video-x", 0, NULL, VIDEOX_TEXT, VIDEOX_LONGTEXT, true )
change_safe ()
- add_integer( "video-y", -1, NULL, VIDEOY_TEXT, VIDEOY_LONGTEXT, true )
+ add_integer( "video-y", 0, NULL, VIDEOY_TEXT, VIDEOY_LONGTEXT, true )
change_safe ()
add_string( "crop", NULL, NULL, CROP_TEXT, CROP_LONGTEXT, false )
change_safe ()
More information about the vlc-commits
mailing list