diff options
author | wm4 <wm4@nowhere> | 2016-09-15 13:50:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-15 14:50:38 +0200 |
commit | 5968a307d5c05d1b4604be4fddd416b0aecb534e (patch) | |
tree | 840ef2820d59aa7472a852662d236030498cf993 /options | |
parent | d1f5b926ac1c35e04ab17103da4b7855b61f9bd7 (diff) | |
download | mpv-5968a307d5c05d1b4604be4fddd416b0aecb534e.tar.bz2 mpv-5968a307d5c05d1b4604be4fddd416b0aecb534e.tar.xz |
options: add --hwdec=yes as alias for --hwdec=auto
This also lets you just do "mpv --hwdec file.mkv", with the minor caveat
that the legacy syntax "--hwdec val" or "-hwdec val" (without "=") does
not work as expected anymore.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index e4c334b45b..d3b9c44341 100644 --- a/options/options.c +++ b/options/options.c @@ -86,6 +86,7 @@ extern const struct m_obj_list ao_obj_list; const struct m_opt_choice_alternatives mp_hwdec_names[] = { {"no", HWDEC_NONE}, {"auto", HWDEC_AUTO}, + {"yes" , HWDEC_AUTO}, {"auto-copy", HWDEC_AUTO_COPY}, {"vdpau", HWDEC_VDPAU}, {"videotoolbox",HWDEC_VIDEOTOOLBOX}, |