summaryrefslogtreecommitdiffstats
path: root/libavcodec/extract_extradata_bsf.c
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-03-08 14:05:53 +0800
committerJames Almer <jamrial@gmail.com>2018-03-17 12:16:35 -0300
commitedce64c9e98f32579dddb5dccf590034686decc2 (patch)
treef1e9fd18e67771289dff1534ab9308eaaa2def99 /libavcodec/extract_extradata_bsf.c
parent055f60e874673188357854db3c2456f10fe41162 (diff)
downloadffmpeg-streaming-edce64c9e98f32579dddb5dccf590034686decc2.zip
ffmpeg-streaming-edce64c9e98f32579dddb5dccf590034686decc2.tar.gz
lavc/extract_extradata_bsf: support dump options.
support dump bit stream filter options Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/extract_extradata_bsf.c')
-rw-r--r--libavcodec/extract_extradata_bsf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/extract_extradata_bsf.c b/libavcodec/extract_extradata_bsf.c
index 1c386be..82632c5 100644
--- a/libavcodec/extract_extradata_bsf.c
+++ b/libavcodec/extract_extradata_bsf.c
@@ -322,9 +322,10 @@ static const enum AVCodecID codec_ids[] = {
};
#define OFFSET(x) offsetof(ExtractExtradataContext, x)
+#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_BSF_PARAM)
static const AVOption options[] = {
{ "remove", "remove the extradata from the bitstream", OFFSET(remove), AV_OPT_TYPE_INT,
- { .i64 = 0 }, 0, 1 },
+ { .i64 = 0 }, 0, 1, FLAGS },
{ NULL },
};
OpenPOWER on IntegriCloud