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/options.c | |
parent | c10731e78b3ed89090b808b0919947f5729841c3 (diff) | |
download | ffmpeg-5a9ee3152b6e69166c7819f07a4992bd22052917.tar.gz |
mpegenc/mpegtsenc: add muxrate private options.
Deprecate AVFormatContext.mux_rate.
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index ddace58a4e..23a7e65369 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -74,7 +74,9 @@ static const AVClass *format_child_class_next(const AVClass *prev) static const AVOption options[]={ {"probesize", "set probing size", OFFSET(probesize), AV_OPT_TYPE_INT, {.dbl = 5000000 }, 32, INT_MAX, D}, +#if FF_API_MUXRATE {"muxrate", "set mux rate", OFFSET(mux_rate), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, 0, INT_MAX, E}, +#endif {"packetsize", "set packet size", OFFSET(packet_size), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, 0, INT_MAX, E}, {"fflags", NULL, OFFSET(flags), AV_OPT_TYPE_FLAGS, {.dbl = DEFAULT }, INT_MIN, INT_MAX, D|E, "fflags"}, {"ignidx", "ignore index", 0, AV_OPT_TYPE_CONST, {.dbl = AVFMT_FLAG_IGNIDX }, INT_MIN, INT_MAX, D, "fflags"}, |