diff options
author | wm4 <nfxjfg@googlemail.com> | 2018-01-15 15:09:31 +0300 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2018-01-16 14:54:53 +0300 |
commit | 6512ff72f9cc058e27646604caeacc4ef0dbd93e (patch) | |
tree | f9c0e23ec334b9d74da60738e39160c8f0eefb13 /libavformat/avformat.h | |
parent | 83e34ae3c2b36e7b20169a8866e3f49294db1f5a (diff) |
avformat: deprecate another ffserver API leftover
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4f2798a871..8556f80372 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -986,12 +986,15 @@ typedef struct AVStream { */ AVRational r_frame_rate; +#if FF_API_LAVF_FFSERVER /** * String containing pairs of key and values describing recommended encoder configuration. * Pairs are separated by ','. * Keys are separated from values by '='. */ + attribute_deprecated char *recommended_encoder_configuration; +#endif /** * Codec parameters associated with this stream. Allocated and freed by @@ -1218,10 +1221,12 @@ AVRational av_stream_get_r_frame_rate(const AVStream *s); attribute_deprecated void av_stream_set_r_frame_rate(AVStream *s, AVRational r); attribute_deprecated +#if FF_API_LAVF_FFSERVER char* av_stream_get_recommended_encoder_configuration(const AVStream *s); attribute_deprecated void av_stream_set_recommended_encoder_configuration(AVStream *s, char *configuration); #endif +#endif struct AVCodecParserContext *av_stream_get_parser(const AVStream *s); |