diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-09 14:40:11 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-17 08:39:53 +0200 |
commit | 5a9ee3152b6e69166c7819f07a4992bd22052917 (patch) | |
tree | 418825014da0479d1049fa525c5ce6df6c24e9a5 /libavformat/avformat.h | |
parent | c10731e78b3ed89090b808b0919947f5729841c3 (diff) | |
download | ffmpeg-5a9ee3152b6e69166c7819f07a4992bd22052917.tar.gz |
mpegenc/mpegtsenc: add muxrate private options.
Deprecate AVFormatContext.mux_rate.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 61b231ec1d..4e7e883eb5 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -736,7 +736,12 @@ typedef struct AVFormatContext { /* av_seek_frame() support */ int64_t data_offset; /**< offset of the first packet */ - int mux_rate; +#if FF_API_MUXRATE + /** + * use mpeg muxer private options instead + */ + attribute_deprecated int mux_rate; +#endif unsigned int packet_size; int preload; int max_delay; |