diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2018-01-02 20:46:58 +0000 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2018-01-02 20:46:58 +0000 |
commit | 828bd2963cd10a851e0a977809687aed4d377dc3 (patch) | |
tree | 31d942e661a897152c192bca27fc6079b8cf88e7 /common/av_common.h | |
parent | 89f81da481c81cda1abd7c971b36f00ea80d80fe (diff) | |
download | mpv-828bd2963cd10a851e0a977809687aed4d377dc3.tar.bz2 mpv-828bd2963cd10a851e0a977809687aed4d377dc3.tar.xz |
command: add demuxer-lavf-list property
Was only available with --demuxer-lavf-format=help and the demuxer
needed to be used for it to actually print the list.
This can be used in the future to check if 'dash' support was compiled
with FFmpeg so ytdl_hook can use it instead. For now, dashdec is too
rudimentary to be used right away.
Diffstat (limited to 'common/av_common.h')
-rw-r--r-- | common/av_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/av_common.h b/common/av_common.h index 6d0c823b8d..0e7c838884 100644 --- a/common/av_common.h +++ b/common/av_common.h @@ -41,6 +41,7 @@ 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); +char **mp_get_lavf_demuxers(void); 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); |