diff options
author | wm4 <wm4@nowhere> | 2016-12-23 18:12:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-12-23 18:12:29 +0100 |
commit | 9d21f2503f28a7be0e493ab18a4acbaae02c3d0a (patch) | |
tree | 8a636fae2155338bf4ee2534a846ce92dd1808ef /common/codecs.h | |
parent | c560f6ff0ab9aec70e53a268e2ff388a85ec3ca0 (diff) | |
download | mpv-9d21f2503f28a7be0e493ab18a4acbaae02c3d0a.tar.bz2 mpv-9d21f2503f28a7be0e493ab18a4acbaae02c3d0a.tar.xz |
options: deprecate codec family selection in --vd/--ad
Useless now, so get rid of it. Also affects some user-visible display
things (like reported codec in use).
Diffstat (limited to 'common/codecs.h')
-rw-r--r-- | common/codecs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/codecs.h b/common/codecs.h index 3e9408eaad..bed5c46905 100644 --- a/common/codecs.h +++ b/common/codecs.h @@ -18,6 +18,8 @@ #ifndef MP_CODECS_H #define MP_CODECS_H +struct mp_log; + struct mp_decoder_entry { const char *family; // decoder module (e.g. ad_lavc => "lavc") const char *codec; // name of the codec (e.g. "mp3") @@ -33,7 +35,8 @@ struct mp_decoder_list { void mp_add_decoder(struct mp_decoder_list *list, const char *family, const char *codec, const char *decoder, const char *desc); -struct mp_decoder_list *mp_select_decoders(struct mp_decoder_list *all, +struct mp_decoder_list *mp_select_decoders(struct mp_log *log, + struct mp_decoder_list *all, const char *codec, const char *selection); |