diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/cfg-mplayer.h | 6 | ||||
-rw-r--r-- | core/options.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 8ddf4616a0..9627a25140 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -467,6 +467,12 @@ const m_option_t common_opts[] = { {"ac", &audio_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, {"vc", &video_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, + OPT_CHOICE("hwdec", hwdec_api, 0, + ({"no", 0}, + {"vdpau", 1}, + {"vda", 2}, + {"crystalhd", 3})), + // postprocessing: {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL}, #ifdef CONFIG_LIBPOSTPROC diff --git a/core/options.h b/core/options.h index d6bac625df..9accec1f0a 100644 --- a/core/options.h +++ b/core/options.h @@ -126,6 +126,9 @@ typedef struct MPOpts { char *ass_styles_file; int ass_style_override; int ass_hinting; + + int hwdec_api; + struct lavc_param { int workaround_bugs; int error_resilience; |