mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avfilter/f_graphmonitor: add flags option shortcuts
This commit is contained in:
parent
b528e098a9
commit
65fe18040a
@ -14660,6 +14660,12 @@ Set flags which enable which stats are shown in video.
|
||||
|
||||
Available values for flags are:
|
||||
@table @samp
|
||||
@item none
|
||||
All flags turned off.
|
||||
|
||||
@item all
|
||||
All flags turned on.
|
||||
|
||||
@item queue
|
||||
Display number of queued frames in each link.
|
||||
|
||||
|
@ -72,6 +72,7 @@ enum {
|
||||
};
|
||||
|
||||
enum {
|
||||
FLAG_NONE = 0 << 0,
|
||||
FLAG_QUEUE = 1 << 0,
|
||||
FLAG_FCIN = 1 << 1,
|
||||
FLAG_FCOUT = 1 << 2,
|
||||
@ -109,7 +110,8 @@ static const AVOption graphmonitor_options[] = {
|
||||
{ "nodisabled",NULL,0,AV_OPT_TYPE_CONST, {.i64=MODE_NODISABLED},0,0,VFR,"mode" },
|
||||
{ "flags", "set flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, {.i64=FLAG_QUEUE}, 0, INT_MAX, VFR, "flags" },
|
||||
{ "f", "set flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, {.i64=FLAG_QUEUE}, 0, INT_MAX, VFR, "flags" },
|
||||
{ "queue", NULL, 0, AV_OPT_TYPE_CONST, {.i64=FLAG_QUEUE}, 0, 0, VFR, "flags" },
|
||||
{ "none", NULL, 0, AV_OPT_TYPE_CONST, {.i64=FLAG_NONE}, 0, 0, VFR, "flags" },
|
||||
{ "all", NULL, 0, AV_OPT_TYPE_CONST, {.i64=INT_MAX}, 0, 0, VFR, "flags" },
|
||||
{ "frame_count_in", NULL, 0, AV_OPT_TYPE_CONST, {.i64=FLAG_FCOUT}, 0, 0, VFR, "flags" },
|
||||
{ "frame_count_out", NULL, 0, AV_OPT_TYPE_CONST, {.i64=FLAG_FCIN}, 0, 0, VFR, "flags" },
|
||||
{ "frame_count_delta",NULL, 0, AV_OPT_TYPE_CONST, {.i64=FLAG_FC_DELTA},0, 0, VFR, "flags" },
|
||||
|
Loading…
Reference in New Issue
Block a user