mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/trim: flag trim filter as metadata only
Similar to select filter for video - it can only pass through or drop frames
This commit is contained in:
parent
47ba87551c
commit
d55f5cba7b
|
@ -364,6 +364,7 @@ const AVFilter ff_vf_trim = {
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
.priv_size = sizeof(TrimContext),
|
.priv_size = sizeof(TrimContext),
|
||||||
.priv_class = &trim_class,
|
.priv_class = &trim_class,
|
||||||
|
.flags = AVFILTER_FLAG_METADATA_ONLY,
|
||||||
FILTER_INPUTS(trim_inputs),
|
FILTER_INPUTS(trim_inputs),
|
||||||
FILTER_OUTPUTS(ff_video_default_filterpad),
|
FILTER_OUTPUTS(ff_video_default_filterpad),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue