diff options
author | wm4 <wm4@nowhere> | 2017-06-23 15:05:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-23 15:05:07 +0200 |
commit | 54e2b1e9f3e64c1724b2ed52c177508e9b23a404 (patch) | |
tree | a2a827917310c45ec7de6d8388698248adc250e2 /player/command.c | |
parent | 6ddd95fd6a66ebc8d52f416b13e18433fa0ec488 (diff) | |
download | mpv-54e2b1e9f3e64c1724b2ed52c177508e9b23a404.tar.bz2 mpv-54e2b1e9f3e64c1724b2ed52c177508e9b23a404.tar.xz |
player: disable --priority for WIP LGPL mode
Due to commit 14ecebe9: author could not be reached. I don't think
anything copyrightable is left, but to be sure make it GPL-only.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 7facb7972e..c84007eb0d 100644 --- a/player/command.c +++ b/player/command.c @@ -5769,7 +5769,7 @@ void mp_notify(struct MPContext *mpctx, int event, void *arg) static void update_priority(struct MPContext *mpctx) { -#ifdef _WIN32 +#if defined(_WIN32) && HAVE_GPL struct MPOpts *opts = mpctx->opts; if (opts->w32_priority > 0) SetPriorityClass(GetCurrentProcess(), opts->w32_priority); |