From: RĂ©mi Denis-Courmont Date: Sat, 6 Mar 2010 20:35:01 +0000 (+0200) Subject: video-x, video-y: make zero the default X-Git-Tag: 1.1.0-pre1~468 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2a919991ceb0d741b04abb992368fafcbd813e20;p=vlc video-x, video-y: make zero the default -1 is a legal coordinate for a window (both in X11 and Win32). --- diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 9398a0439e..b2bace3be2 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 ()