Skip to content

Commit

Permalink
mpv: eliminate config.mpv options
Browse files Browse the repository at this point in the history
Removing all `config.mpv.*` options will improve readability. MPV has many
configurable options, and using the config approach is prone to confusion and
unnecessary code duplication. If needed, the user can `override` the relevant
variables in the function itself, so no functionality is lost.

Closes issue #26786
  • Loading branch information
AndersonTorres authored and fpletz committed Jun 26, 2017
1 parent 5727863 commit 0e14a86
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -15062,10 +15062,6 @@ with pkgs;
lua = lua5_1;
lua5_sockets = lua5_1_sockets;
youtube-dl = pythonPackages.youtube-dl;
bs2bSupport = config.mpv.bs2bSupport or true;
youtubeSupport = config.mpv.youtubeSupport or true;
cacaSupport = config.mpv.cacaSupport or true;
vaapiSupport = config.mpv.vaapiSupport or false;
libva = libva-full;
};

Expand Down

0 comments on commit 0e14a86

Please sign in to comment.