diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/cfg-mplayer.h | 1 | ||||
-rw-r--r-- | core/defaultopts.c | 2 | ||||
-rw-r--r-- | core/options.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 7414d561bd..570c403f9c 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -449,6 +449,7 @@ const m_option_t common_opts[] = { {"vdpau", 1}, {"vda", 2}, {"crystalhd", 3})), + OPT_STRING("hwdec-codecs", hwdec_codecs, 0), // postprocessing: {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL}, diff --git a/core/defaultopts.c b/core/defaultopts.c index 3231c8142d..03d697d732 100644 --- a/core/defaultopts.c +++ b/core/defaultopts.c @@ -86,6 +86,8 @@ void set_default_mplayer_options(struct MPOpts *opts) .ass_style_override = 1, .use_embedded_fonts = 1, + .hwdec_codecs = "all", + .lavc_param = { .workaround_bugs = 1, // autodetect .error_concealment = 3, diff --git a/core/options.h b/core/options.h index 8806a66211..4729d7ca6a 100644 --- a/core/options.h +++ b/core/options.h @@ -185,6 +185,7 @@ typedef struct MPOpts { int ass_hinting; int hwdec_api; + char *hwdec_codecs; struct lavc_param { int workaround_bugs; |