vlc | branch: master | Steve Lhomme <[email protected]> | Fri Mar 29 09:35:56 2019 +0100| [5d2e7a2b2d780bce5abd19581ea020dbd28971a3] | committer: Steve Lhomme
core: limit the video-x and video-y option to macOS and Win32 The option is not used in other cases. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d2e7a2b2d780bce5abd19581ea020dbd28971a3 --- src/libvlc-module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libvlc-module.c b/src/libvlc-module.c index a29a184f1a..b6c119668e 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -1660,10 +1660,12 @@ vlc_module_begin () change_safe () add_integer( "height", -1, HEIGHT_TEXT, HEIGHT_LONGTEXT, true ) change_safe () +#if defined(__APPLE__) || defined(_WIN32) add_integer( "video-x", 0, VIDEOX_TEXT, VIDEOX_LONGTEXT, true ) change_safe () add_integer( "video-y", 0, VIDEOY_TEXT, VIDEOY_LONGTEXT, true ) change_safe () +#endif add_string( "crop", NULL, CROP_TEXT, CROP_LONGTEXT, false ) change_safe () add_string( "custom-crop-ratios", NULL, CUSTOM_CROP_RATIOS_TEXT, _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
