diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-10 23:22:59 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-16 01:13:38 +0100 |
commit | 6690d4c3f53bd46144f3c13afcc77bcca3f7bb0b (patch) | |
tree | 3cec9602849c3d034a150a00603e0e7872d39250 /libavformat/avformat.h | |
parent | bee5844ddd4efc771a85caf6168d79abe42769a2 (diff) |
lavf/ffm: store/restore private codec context
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 3733549e72..56ab4e100d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1097,11 +1097,19 @@ typedef struct AVStream { */ int inject_global_side_data; + /** + * String containing paris of key and values describing recommended encoder configuration. + * Paris are separated by ','. + * Keys are separated from values by '='. + */ + char *recommended_encoder_configuration; } AVStream; AVRational av_stream_get_r_frame_rate(const AVStream *s); void av_stream_set_r_frame_rate(AVStream *s, AVRational r); struct AVCodecParserContext *av_stream_get_parser(const AVStream *s); +char* av_stream_get_recommended_encoder_configuration(const AVStream *s); +void av_stream_set_recommended_encoder_configuration(AVStream *s, char *configuration); /** * Returns the pts of the last muxed packet + its duration |