# Changes in this fork (jmwg)

This repository is a fork of **mpv** (https://github.com/mpv-player/mpv),
branched from upstream commit `2bd9c3229`. Per the GNU GPL, the modifications
made relative to upstream mpv are listed below.

The fork adds a Media Player Classic–style Win32 GUI **compiled into the mpv
binary** (the GUI replaces mpv's on-screen controller with a native window
frame: menu bar, toolbar, seek bar, status bar). It is not a separate program
using libmpv — the GUI lives inside the mpv source tree and is linked with the
player.

## New files
- `video/out/win32/gui.c`, `video/out/win32/gui.h` — the entire Win32 GUI
  shell: window/menu/transport/status-bar, fullscreen overlay, keybindings,
  recent files, session persistence, auto-resize, shader/MediaInfo dialogs, etc.

## Modified upstream files
- `meson.build` — build the `jmwg` GUI target (links the GUI with the player /
  libmpv objects); add win32 libraries (shell32, shlwapi).
- `etc/builtin.conf` — a `[builtin-gui]` profile applied with the GUI: disable
  the OSC and mpv's default key bindings, `cursor-autohide=no`,
  `input-right-alt-gr=no`, `screenshot-directory=~~desktop/`, keep-open, etc.
- `etc/mpv-icon.ico` — application icon replaced with the jmwg icon
  (the original upstream icon is preserved as `etc/mpv-icon.ico.orig`).
- `osdep/mpv.rc` — version resource / product name / icon / GPLv3 statement.
- `osdep/mpv.exe.manifest` — manifest tweaks for the desktop GUI.
- `options/options.c`, `options/options.h` — window-title default and GUI option
  wiring.
- `player/main.c` — start the GUI shell / wire it to the player.
- `video/out/w32_common.c` — embedding/keyboard glue for the GUI window.

## License
mpv is GPLv2-or-later; the distributed binary additionally links GPL components
(FFmpeg built `--enable-gpl --enable-version3` => GPL-3.0-or-later, plus x264,
x265, and others), so the **program as a whole is GPLv3-or-later**. All new
code in this fork is contributed under the same terms. See `LICENSE.GPLv3` and
mpv's `Copyright` / `LICENSE.GPL` / `LICENSE.LGPL`.
