summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-21 16:05:03 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commita770006c6ec1c0173e33a63d36cafca743e63808 (patch)
tree9de13d0e85adc5dc025de829947f99af68b77dfb /options/options.h
parent3569857b7580f9037f5168a2e3888a86cc3a85a0 (diff)
downloadmpv-a770006c6ec1c0173e33a63d36cafca743e63808.tar.bz2
mpv-a770006c6ec1c0173e33a63d36cafca743e63808.tar.xz
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).
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h7
1 files changed, 0 insertions, 7 deletions
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