mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-21 14:53:10 +00:00
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>
This commit is contained in:
parent
055f60e874
commit
edce64c9e9
@ -322,9 +322,10 @@ static const enum AVCodecID codec_ids[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define OFFSET(x) offsetof(ExtractExtradataContext, x)
|
#define OFFSET(x) offsetof(ExtractExtradataContext, x)
|
||||||
|
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_BSF_PARAM)
|
||||||
static const AVOption options[] = {
|
static const AVOption options[] = {
|
||||||
{ "remove", "remove the extradata from the bitstream", OFFSET(remove), AV_OPT_TYPE_INT,
|
{ "remove", "remove the extradata from the bitstream", OFFSET(remove), AV_OPT_TYPE_INT,
|
||||||
{ .i64 = 0 }, 0, 1 },
|
{ .i64 = 0 }, 0, 1, FLAGS },
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user