You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_readeia608: add support for commands
This commit is contained in:
@@ -15910,6 +15910,10 @@ Enable checking the parity bit. In the event of a parity error, the filter will
|
|||||||
Lowpass lines prior to further processing. Default is enabled.
|
Lowpass lines prior to further processing. Default is enabled.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@subsection Commands
|
||||||
|
|
||||||
|
This filter supports the all above options as @ref{commands}.
|
||||||
|
|
||||||
@subsection Examples
|
@subsection Examples
|
||||||
|
|
||||||
@itemize
|
@itemize
|
||||||
|
@@ -74,7 +74,7 @@ typedef struct ReadEIA608Context {
|
|||||||
} ReadEIA608Context;
|
} ReadEIA608Context;
|
||||||
|
|
||||||
#define OFFSET(x) offsetof(ReadEIA608Context, x)
|
#define OFFSET(x) offsetof(ReadEIA608Context, x)
|
||||||
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
|
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
|
||||||
|
|
||||||
static const AVOption readeia608_options[] = {
|
static const AVOption readeia608_options[] = {
|
||||||
{ "scan_min", "set from which line to scan for codes", OFFSET(start), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS },
|
{ "scan_min", "set from which line to scan for codes", OFFSET(start), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS },
|
||||||
@@ -440,4 +440,5 @@ AVFilter ff_vf_readeia608 = {
|
|||||||
.outputs = readeia608_outputs,
|
.outputs = readeia608_outputs,
|
||||||
.uninit = uninit,
|
.uninit = uninit,
|
||||||
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
|
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
|
||||||
|
.process_command = ff_filter_process_command,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user