media: v4l2-ctrls: Fix typo in VP8 comment
PATCH 1/1 media: v4l2-ctrls: Fix typo in VP8 comment
The comment for the VP8 loop filter flags uses the partially wrong name for the flags. Unlike the other VP8 flag names, the loop filter flag names don't have "_FLAG" in them. Change the comment so that it matches the actual flag definitions in the header.
Signed-off-by Deborah Brouwer <[email protected]>
--- include/uapi/linux/v4l2-controls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/v4l2-controls.h +1 -1
@@ -1730,7 +1730,7 @@ struct v4l2_vp8_segment {* @sharpness_level: matches sharpness_level syntax element. * @level: matches loop_filter_level syntax element. * @padding: padding field. Should be zeroed by applications. -* @flags: see V4L2_VP8_LF_FLAG_{}. +* @flags: see V4L2_VP8_LF_{}. * * This structure contains loop filter related parameters. * See the 'mb_lf_adjustments()' part of the frame header syntax,
Signature · 1 line
2.37.1
Le jeudi 11 août 2022 à 13:37 -0700, Deborah Brouwer a écrit :
Quoted 4 lines
The comment for the VP8 loop filter flags uses the partially wrong name for the flags. Unlike the other VP8 flag names, the loop filter flag names don't have "
_FLAG" in them. Change the comment so that it matches the actual flag definitions in the header.
oops, perhaps it should have had that, but can't change it anymore.
Nice catch!
Reviewed-by Nicolas Dufresne <[email protected]>
Fixes 363240ce1c08 ("media: uapi: move VP8 stateless controls out of staging")
Quoted 21 lines
Signed-off-by Deborah Brouwer <[email protected]>--- include/uapi/linux/v4l2-controls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)b/ renamed from include/uapi/linux/v4l2-controls.h +0
-0
include/uapi/linux/v4l2-controls.hb/ renamed from include/uapi/linux/v4l2-controls.h +1
-1@@ -1730,7 +1730,7 @@ struct v4l2_vp8_segment { * @sharpness_level: matches sharpness_level syntax element. * @level: matches loop_filter_level syntax element. * @padding: padding field. Should be zeroed by applications. - * @flags: see V4L2_VP8_LF_FLAG_{}. + * @flags: see V4L2_VP8_LF_{}. * * This structure contains loop filter related parameters. * See the 'mb_lf_adjustments()' part of the frame header syntax,