diff options
author | wm4 <wm4@nowhere> | 2018-01-31 04:21:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-02-01 10:21:55 +0100 |
commit | 8b3306924d1b80ed85907449ffa2549946e8b137 (patch) | |
tree | c4696b0af7fb2ef363d40696b370e6ce24c3b275 /common/av_common.c | |
parent | 4b567aeac8d1741b14bf2ee363a5434a4877565e (diff) | |
download | mpv-8b3306924d1b80ed85907449ffa2549946e8b137.tar.bz2 mpv-8b3306924d1b80ed85907449ffa2549946e8b137.tar.xz |
codecs: remove unused family field
MPlayer used this to distinguish multiple decoder wrappers (such as
libavcodec vs. binary codec loader vs. builtin decoders). It lost
meaning in mpv as non-libavcodec things were dropped. Now it doesn't
serve any purpose anymore.
Parsing was removed quite a while ago, and the recent filter change
removed any use of the internal family field. Get rid of it.
Diffstat (limited to 'common/av_common.c')
-rw-r--r-- | common/av_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/av_common.c b/common/av_common.c index 0599d98465..0981e919e1 100644 --- a/common/av_common.c +++ b/common/av_common.c @@ -227,7 +227,7 @@ void mp_add_lavc_decoders(struct mp_decoder_list *list, enum AVMediaType type) if (!cur) break; if (av_codec_is_decoder(cur) && cur->type == type) { - mp_add_decoder(list, "lavc", mp_codec_from_av_codec_id(cur->id), + mp_add_decoder(list, mp_codec_from_av_codec_id(cur->id), cur->name, cur->long_name); } } @@ -242,7 +242,7 @@ void mp_add_lavc_encoders(struct mp_decoder_list *list) if (!cur) break; if (av_codec_is_encoder(cur)) { - mp_add_decoder(list, "lavc", mp_codec_from_av_codec_id(cur->id), + mp_add_decoder(list, mp_codec_from_av_codec_id(cur->id), cur->name, cur->long_name); } } |