Mercurial > libavformat.hg
diff utils.c @ 1320:5cda22873c51 libavformat
Migrate the "packetsize" OptionDef option to become an AVOption.
| author | takis |
|---|---|
| date | Wed, 20 Sep 2006 08:24:17 +0000 |
| parents | d93c1458d7be |
| children | 95f56c7b24eb |
line wrap: on
line diff
--- a/utils.c Wed Sep 20 08:23:01 2006 +0000 +++ b/utils.c Wed Sep 20 08:24:17 2006 +0000 @@ -467,6 +467,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}, +{"packetsize", "set packet size", OFFSET(packet_size), 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"},
