aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/av1_metadata_bsf.c
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2021-08-27 15:13:42 +0800
committerJun Zhao <barryjzhao@tencent.com>2022-01-01 10:43:17 +0800
commitc41761676276968b9f2f33c5c62357cde3a51dbc (patch)
tree5dd35e71ef3ed83743d91e0de7b4c868691eaf43 /libavcodec/av1_metadata_bsf.c
parent0154f142f3d09e1ab2b1421bb77ec9ca91a9d82f (diff)
downloadffmpeg-c41761676276968b9f2f33c5c62357cde3a51dbc.tar.gz
lavc/{av1, h264, h265}_metadata_bsf: fix description of tick_rate
Users may take the description literally which leads to inverted results. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Jun Zhao <barryjzhao@tencent.com
Diffstat (limited to 'libavcodec/av1_metadata_bsf.c')
-rw-r--r--libavcodec/av1_metadata_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/av1_metadata_bsf.c b/libavcodec/av1_metadata_bsf.c
index 1fb85d88b7..c52673bf6a 100644
--- a/libavcodec/av1_metadata_bsf.c
+++ b/libavcodec/av1_metadata_bsf.c
@@ -194,7 +194,7 @@ static const AVOption av1_metadata_options[] = {
{ "colocated", "Top-left chroma sample position", 0, AV_OPT_TYPE_CONST,
{ .i64 = AV1_CSP_COLOCATED }, .flags = FLAGS, .unit = "csp" },
- { "tick_rate", "Set display tick rate (num_units_in_display_tick / time_scale)",
+ { "tick_rate", "Set display tick rate (time_scale / num_units_in_display_tick)",
OFFSET(tick_rate), AV_OPT_TYPE_RATIONAL,
{ .dbl = 0.0 }, 0, UINT_MAX, FLAGS },
{ "num_ticks_per_picture", "Set display ticks per picture for CFR streams",