aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-20 08:23:01 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-20 08:23:01 +0000
commit09a455764b80059c24ae78544ad79f7919c3d0d6 (patch)
tree775d0ae1521d4b17a1a027368a37e44ee9595f99 /libavformat/utils.c
parent99aed7c8fc9db68a18816a98b84bf0c09a00cf1e (diff)
downloadffmpeg-09a455764b80059c24ae78544ad79f7919c3d0d6.tar.gz
Migrate the "muxrate" OptionDef option to become an AVOption.
Originally committed as revision 6292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 6df8bfd7ed..159eaa1aa6 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -466,6 +466,7 @@ static const char* format_to_name(void* ptr)
static const AVOption options[]={
{"probesize", NULL, OFFSET(probesize), FF_OPT_TYPE_INT, 32000, 32, INT_MAX, D}, /* 32000 from mpegts.c: 1.0 second at 24Mbit/s */
+{"muxrate", "set mux rate", OFFSET(mux_rate), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E},
{"fflags", NULL, OFFSET(flags), FF_OPT_TYPE_FLAGS, DEFAULT, INT_MIN, INT_MAX, D, "fflags"},
{"ignidx", "ignore index", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_IGNIDX, INT_MIN, INT_MAX, D, "fflags"},
{"genpts", "generate pts", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_GENPTS, INT_MIN, INT_MAX, D, "fflags"},