]> git.sesse.net Git - ffmpeg/commitdiff
bitstream_filters: Correct dump_extradata description
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 4 Jun 2019 13:41:05 +0000 (15:41 +0200)
committerGyan Doshi <ffmpeg@gyani.pro>
Tue, 4 Jun 2019 14:34:05 +0000 (20:04 +0530)
The default is to dump extradata to keyframes, not all frames.
Also improve the description of the relevant AVOption.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
doc/bitstream_filters.texi
libavcodec/dump_extradata_bsf.c

index 25bbf8372b749e027ee913d9902d9faeeaaec303..40e8adad0f0b951592f70fe17754cc2159024bb5 100644 (file)
@@ -120,7 +120,7 @@ add extradata to all packets
 @end table
 @end table
 
-If not specified it is assumed @samp{e}.
+If not specified it is assumed @samp{k}.
 
 For example the following @command{ffmpeg} command forces a global
 header (thus disabling individual packet headers) in the H.264 packets
index 188a1c619bc47c5e7ce6337d007d60526fe31c60..7112cd6bd48f14bc175e458685a6a54e92281f84 100644 (file)
@@ -81,7 +81,7 @@ fail:
 #define OFFSET(x) offsetof(DumpExtradataContext, x)
 #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_BSF_PARAM)
 static const AVOption options[] = {
-    { "freq", "When do dump extradata", OFFSET(freq), AV_OPT_TYPE_INT,
+    { "freq", "When to dump extradata", OFFSET(freq), AV_OPT_TYPE_INT,
         { .i64 = DUMP_FREQ_KEYFRAME }, DUMP_FREQ_KEYFRAME, DUMP_FREQ_ALL, FLAGS, "freq" },
         { "k",        NULL, 0, AV_OPT_TYPE_CONST, { .i64 = DUMP_FREQ_KEYFRAME }, .flags = FLAGS, .unit = "freq" },
         { "keyframe", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = DUMP_FREQ_KEYFRAME }, .flags = FLAGS, .unit = "freq" },