avcodec/dump_extradata_bsf: Add back 'k' and 'e' options
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Apr 2016 00:39:15 +0000 (02:39 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Apr 2016 00:54:33 +0000 (02:54 +0200)
broken since af9cac1be1750ecc0e12c6788a3aeed1f1a778be

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dump_extradata_bsf.c

index 1f91e21..fa7bc86 100644 (file)
@@ -81,7 +81,9 @@ fail:
 static const AVOption options[] = {
     { "freq", "When do dump extradata", OFFSET(freq), AV_OPT_TYPE_INT,
         { .i64 = DUMP_FREQ_KEYFRAME }, DUMP_FREQ_KEYFRAME, DUMP_FREQ_ALL, 0, "freq" },
+        { "k",        NULL, 0, AV_OPT_TYPE_CONST, { .i64 = DUMP_FREQ_KEYFRAME }, .unit = "freq" },
         { "keyframe", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = DUMP_FREQ_KEYFRAME }, .unit = "freq" },
+        { "e",        NULL, 0, AV_OPT_TYPE_CONST, { .i64 = DUMP_FREQ_ALL      }, .unit = "freq" },
         { "all",      NULL, 0, AV_OPT_TYPE_CONST, { .i64 = DUMP_FREQ_ALL      }, .unit = "freq" },
     { NULL },
 };