command: add encoder-list property

Also change decoder-list (for the sake of sharing the underlying code
for both properties).
This commit is contained in:
wm4
2016-03-01 21:46:49 +01:00
parent af66fa8fa5
commit 33774e18ed
4 changed files with 37 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ int64_t mp_pts_to_av(double mp_pts, AVRational *tb);
double mp_pts_from_av(int64_t av_pts, AVRational *tb);
void mp_set_avcodec_threads(struct mp_log *l, AVCodecContext *avctx, int threads);
void mp_add_lavc_decoders(struct mp_decoder_list *list, enum AVMediaType type);
void mp_add_lavc_encoders(struct mp_decoder_list *list);
int mp_codec_to_av_codec_id(const char *codec);
const char *mp_codec_from_av_codec_id(int codec_id);
void mp_set_avdict(struct AVDictionary **dict, char **kv);