diff options
Diffstat (limited to 'Copyright')
-rw-r--r-- | Copyright | 31 |
1 files changed, 10 insertions, 21 deletions
@@ -4,7 +4,7 @@ mpv as a whole is licensed under the GNU General Public License GPL version 2 or later (called GPLv2+ in this document, see LICENSE.GPL for full license text) by default, or the GNU Lesser General Public License LGPL version 2 or later (LGPLv2.1+ in this document, see LICENSE.LGPL for full license text) if -built with the --enable-lgpl configure switch. +built with the -Dgpl=false configure switch. Most source files are LGPLv2.1+ or GPLv2+, but some files are available under more liberal licenses, such as BSD, MIT, ISC, and possibly others. Look at the @@ -21,6 +21,8 @@ project can relicense the changes to LGPLv2.1+ at a later point without asking the contributor. This is a safeguard for making potential relicensing of remaining GPL code to LGPLv2.1+ easier. +See DOCS/contribute.md for binding rules wrt. licensing for contributions. + For information about authors and contributors, consult the git log, which contains the complete SVN and CVS history as well. @@ -29,11 +31,11 @@ contains the complete SVN and CVS history as well. Some libraries are GPLv2+ or GPLv3+ only. Building mpv with Samba support makes it GPLv3+. -mpv can be built as LGPLv2.1+ with the --enable-lgpl configure option. To add -a LGPL mode to mpv, MPlayer code had to be relicensed from GPLv2+ to LGPLv2.1+ -by asking the MPlayer authors for permission. Since permission could not be -obtained from everyone, LGPL mode disables the following features, some of -them quite central: +mpv can be built as LGPLv2.1+ with the -Dgpl=false configure option. To add a +LGPL mode to mpv, MPlayer code had to be relicensed from GPLv2+ to LGPLv2.1+ by +asking the MPlayer authors for permission. Since permission could not be +obtained from everyone, LGPL mode disables the following features, some of them +quite central: - Linux X11 video output - BSD audio output via OSS - NVIDIA/Linux hardware decoding (vdpau, although nvdec usually works) @@ -43,23 +45,14 @@ Some of these will be fixed in the future. The intended use for LGPL mode is with libmpv, and currently it's not recommended to build mpv CLI in LGPL mode at all. -The following files are still GPL only (--enable-lgpl disables them): +The following files are still GPL only (-Dgpl=false disables them): audio/out/ao_jack.c will stay GPL audio/out/ao_oss.c will stay GPL - demux/demux_tv.c will stay GPL - stream/ai_* will stay GPL (TV code) - stream/audio_in.* will stay GPL (TV code) stream/dvb* must stay GPL - stream/frequencies.* must stay GPL stream/stream_cdda.c unknown stream/stream_dvb.* must stay GPL - stream/stream_dvd.c unknown - stream/stream_dvd_common.* unknown stream/stream_dvdnav.c unknown - stream/stream_smb.c will stay GPLv3 - stream/stream_tv.c will stay GPL - stream/tv* will stay GPL video/out/vo_caca.c unknown video/out/vo_direct3d.c unknown video/out/vo_vaapi.c probably impossible (some company's code) @@ -76,10 +69,6 @@ The following files are still GPL only (--enable-lgpl disables them): mpv.desktop unknown license, probably GPLv2+ etc/restore-old-bindings.conf unknown license, probably GPLv2+ -The following files contain some optional GPL code (--enable-lgpl disables it): - - options/parse_commandline.c dvd:// expansion - -None of the exceptions listed above affect the final binary if it's built as +None of the cases listed above affect the final binary if it's built as LGPL. Linked libraries still can affect the final license (for example if FFmpeg was built as GPL). |