diff options
author | wm4 <wm4@nowhere> | 2014-07-30 01:15:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-30 01:15:42 +0200 |
commit | 26d973ce827555619405bf62db24bf4ae12a4a90 (patch) | |
tree | 1b5f97301adca8ac102d6b530ebbc04d604dd47b /common/av_common.h | |
parent | da780309d707ac995941c14d1f5bbc8f1a7239b8 (diff) | |
download | mpv-26d973ce827555619405bf62db24bf4ae12a4a90.tar.bz2 mpv-26d973ce827555619405bf62db24bf4ae12a4a90.tar.xz |
stream_lavf: allow setting AVOptions with --stream-lavf-o
This commit also creates a private option struct for stream_lavf.c, but
since I'm lazy, I'm not moving any existing options to it.
Diffstat (limited to 'common/av_common.h')
-rw-r--r-- | common/av_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/av_common.h b/common/av_common.h index 2e55fe17a0..4afebe6662 100644 --- a/common/av_common.h +++ b/common/av_common.h @@ -26,6 +26,7 @@ struct mp_decoder_list; struct demux_packet; +struct AVDictionary; int mp_lavc_set_extradata(AVCodecContext *avctx, void *ptr, int size); void mp_copy_lav_codec_headers(AVCodecContext *avctx, AVCodecContext *st); @@ -36,5 +37,6 @@ void mp_set_avcodec_threads(AVCodecContext *avctx, int threads); void mp_add_lavc_decoders(struct mp_decoder_list *list, enum AVMediaType type); 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); #endif |