From a770006c6ec1c0173e33a63d36cafca743e63808 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 21 May 2018 16:05:03 +0200 Subject: vd_lavc: move hwdec opts to local config, don't use global MPOpts The --hwdec* options are a good fit for the vd_lavc local option struct. This annoyingly requires manual prefixing of most of these options with --vd-lavc (could be avoided by using more sub-struct craziness, but let's not). --- options/options.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index d376ad1cd6..0eb5451794 100644 --- a/options/options.h +++ b/options/options.h @@ -293,10 +293,6 @@ typedef struct MPOpts { int audiofile_auto; int osd_bar_visible; - char *hwdec_api; - char *hwdec_codecs; - int hwdec_image_format; - int w32_priority; struct tv_params *tv_params; @@ -369,7 +365,4 @@ extern const struct m_sub_options mp_osd_render_sub_opts; extern const struct m_sub_options filter_conf; extern const struct m_sub_options resample_conf; -int hwdec_validate_opt(struct mp_log *log, const m_option_t *opt, - struct bstr name, struct bstr param); - #endif -- cgit v1.2.3