vlc/python | branch: master | mrJean1 <[email protected]> | Thu Oct 31 19:22:19 2019 -0400| [dbc37ef2c2a7c4288647ca1487a28e267c40c2cc] | committer: Olivier Aubert
python: cocoavlc example - updated hue range. (#103) According to the VLC docs, the hue range is now -180..180. > http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=dbc37ef2c2a7c4288647ca1487a28e267c40c2cc --- examples/cocoavlc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cocoavlc.py b/examples/cocoavlc.py index 3a9aa50..29d8299 100755 --- a/examples/cocoavlc.py +++ b/examples/cocoavlc.py @@ -67,14 +67,14 @@ except ImportError: from urllib.parse import unquote as mrl_unquote # Python 3+ __all__ = ('AppVLC',) -__version__ = '19.01.31' +__version__ = '19.08.26' _Adjust = vlc.VideoAdjustOption # Enum # <http://Wiki.VideoLan.org/Documentation:Modules/adjust> _Adjust3 = {_Adjust.Brightness: (0, 1, 2), _Adjust.Contrast: (0, 1, 2), _Adjust.Gamma: (0.01, 1, 10), - _Adjust.Hue: (0, 0, 360), + _Adjust.Hue: (-180, 0, 180), _Adjust.Saturation: (0, 1, 3)} _Argv0 = os.path.splitext(os.path.basename(__file__))[0] _macOS = platform.mac_ver()[0:3:2] # PYCHOK false _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
