[FFmpeg-devel] [PATCH] avutil/parseutils: use quadhd for Quad HD

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Jan 12 11:49:56 EET 2022


lance.lmwang at gmail.com:
> From: Limin Wang <lance.lmwang at gmail.com>
> 
> qHD is 960x540 (q stands for quarter) and QHD is 2560x1440 (Q is quad).
> use quadhd for QHD for abbreviation.
> 
> Fix ticket#9591
> 
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
>  libavutil/parseutils.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
> index 19bbdde..94e88e0 100644
> --- a/libavutil/parseutils.c
> +++ b/libavutil/parseutils.c
> @@ -112,7 +112,7 @@ static const VideoSizeAbbr video_size_abbrs[] = {
>      { "hd480",     852, 480 },
>      { "hd720",    1280, 720 },
>      { "hd1080",   1920,1080 },
> -    { "qhd",      2560,1440 },
> +    { "quadhd",   2560,1440 },
>      { "2k",       2048,1080 }, /* Digital Cinema System Specification */
>      { "2kdci",    2048,1080 },
>      { "2kflat",   1998,1080 },
> 

No objections from me for that. If no one else objects, you should apply
it and also backport it to 5.0.

- Andreas


More information about the ffmpeg-devel mailing list