diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-03-25 11:58:55 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-04-04 20:39:33 +0200 |
commit | a45605a1ba3126c4d8314886d90326a7ffe746ff (patch) | |
tree | b8c44dfb6aad79b9bc2bb249f3b7a605a74ef642 /libavformat/options_table.h | |
parent | fde63146d264f8de86b5cca442eaeed3d59a6681 (diff) | |
download | ffmpeg-a45605a1ba3126c4d8314886d90326a7ffe746ff.tar.gz |
Add AVIO_FLAG_DIRECT.
Allows avoiding the buffer when using avio read, write and seek functions.
When using the ffmpeg executable -avioflags direct can be used to enable
this mode for input files, but has no effect on output files.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/options_table.h')
-rw-r--r-- | libavformat/options_table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h index 0313839046..8d57c273e3 100644 --- a/libavformat/options_table.h +++ b/libavformat/options_table.h @@ -28,6 +28,8 @@ #define D AV_OPT_FLAG_DECODING_PARAM static const AVOption options[]={ +{"avioflags", NULL, OFFSET(avio_flags), AV_OPT_TYPE_FLAGS, {.dbl = DEFAULT }, INT_MIN, INT_MAX, D|E, "avioflags"}, +{"direct", "reduce buffering", 0, AV_OPT_TYPE_CONST, {.dbl = AVIO_FLAG_DIRECT }, INT_MIN, INT_MAX, D|E, "avioflags"}, {"probesize", "set probing size", OFFSET(probesize), AV_OPT_TYPE_INT, {.dbl = 5000000 }, 32, INT_MAX, D}, {"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"}, |