# HG changeset patch # User takis # Date 1158740581 0 # Node ID d93c1458d7befa392c1f13de1278ecd12dff9bad # Parent defa841523a9421cd0d5c3a483771d838b48d4fb Migrate the "muxrate" OptionDef option to become an AVOption. diff -r defa841523a9 -r d93c1458d7be utils.c --- a/utils.c Sun Sep 17 09:39:49 2006 +0000 +++ b/utils.c Wed Sep 20 08:23:01 2006 +0000 @@ -466,6 +466,7 @@ 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"},