================================================================================
 jmwg — Third-party components and their licenses
================================================================================

jmwg ("Josh's mpv Win32 GUI") is a fork of mpv (https://mpv.io) with a custom
Win32 GUI compiled directly into the player. The shipped binary statically
includes mpv and dynamically loads the libraries distributed alongside it
(the *.dll files in this folder's parent directory).

--------------------------------------------------------------------------------
 License of the program as a whole:  GNU GPL version 3 or later
--------------------------------------------------------------------------------
Although mpv itself is "GPLv2 or later", this binary links several components
that are GPL, and the bundled FFmpeg is built `--enable-gpl --enable-version3`
and reports its license as GPL-3.0-or-later. Combining GPLv2-or-later code with
a GPLv3 component yields an effective license of GPL **version 3 or later** for
the distributed program. The full text is in ../LICENSE.txt and _GPL-3.0.txt.

--------------------------------------------------------------------------------
 Where each license lives
--------------------------------------------------------------------------------
  _COMPONENTS.txt          Bill of materials: every bundled library, its SPDX
                           license id, and its exact version.
  _GPL-3.0.txt             GNU GPL v3 (covers FFmpeg, x264, x265, and the
                           other GPL components, and the program as a whole).
  _common/LGPL-2.1.txt     GNU LGPL v2.1   } cover the LGPL libraries
  _common/LGPL-3.0.txt     GNU LGPL v3     }
  <name>/                  Per-package license text(s), as shipped by each
                           upstream project (one folder per component that
                           ships its own license file).
  mpv/                     mpv's own Copyright, LICENSE.GPL, LICENSE.LGPL.
  MediaInfo/               MediaInfo (BSD-2-Clause) license.

A handful of components (FFmpeg, x264, x265, libass) do not ship a license
file inside their package; their licenses are: FFmpeg = GPL-3.0-or-later,
x264 = GPL-2.0-or-later, x265 = GPL-2.0-or-later, libass = ISC. The GPL ones
are covered by _GPL-3.0.txt; ISC text is reproduced at the end of this file.

--------------------------------------------------------------------------------
 GPL / copyleft components (covered by _GPL-3.0.txt)
--------------------------------------------------------------------------------
  FFmpeg (GPL-3.0-or-later, version3 build), x264, x265, xvidcore, rubberband,
  vid.stab, libdvdcss, libdvdnav, libdvdread, libcdio, libcdio-paranoia,
  fftw, jbigkit, OpenAL Soft, and any others marked GPL/LGPL in _COMPONENTS.txt.
  Dual-licensed libraries (e.g. lz4, zstd, lcms2, freetype) are used under
  their permissive option.

--------------------------------------------------------------------------------
 Permissively-licensed components (BSD / MIT / ISC / Zlib / public domain)
--------------------------------------------------------------------------------
  dav1d, libaom, libvpx, libdav1d, zlib, libpng, brotli, harfbuzz, fribidi,
  freetype, fontconfig, libjpeg-turbo, libwebp, libtiff, libplacebo (LGPL),
  MediaInfo (BSD-2-Clause), and many more — see _COMPONENTS.txt for each.

--------------------------------------------------------------------------------
 Complete corresponding source (GPL/LGPL requirement)
--------------------------------------------------------------------------------
See ../SOURCE.txt. In short: the jmwg/mpv source is published as a fork of mpv;
the bundled GPL/LGPL libraries are unmodified MSYS2 (mingw-w64-ucrt-x86_64)
builds whose exact versions are in _COMPONENTS.txt, with source available from
MSYS2 (https://github.com/msys2/MINGW-packages) and each library's upstream.

--------------------------------------------------------------------------------
 libass — ISC License
--------------------------------------------------------------------------------
Copyright (C) 2006-2024 libass contributors

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
