From 5968a307d5c05d1b4604be4fddd416b0aecb534e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 Sep 2016 13:50:50 +0200 Subject: 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. --- options/options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options') 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}, -- cgit v1.2.3