diff mbox series

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

Message ID 1641867345-17525-1-git-send-email-lance.lmwang@gmail.com
State Accepted
Commit 8b9ef5a516dcb6327bdc15943c981ed743a09ab1
Headers show
Series [FFmpeg-devel] avutil/parseutils: use quadhd for Quad HD | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 success Make fate finished
andriy/make_aarch64_jetson success Make finished
andriy/make_fate_aarch64_jetson success Make fate finished

Commit Message

Limin Wang Jan. 11, 2022, 2:15 a.m. UTC
From: Limin Wang <lance.lmwang@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@gmail.com>
---
 libavutil/parseutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Rheinhardt Jan. 12, 2022, 9:49 a.m. UTC | #1
lance.lmwang@gmail.com:
> From: Limin Wang <lance.lmwang@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@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
Limin Wang Jan. 12, 2022, 9:52 a.m. UTC | #2
On Wed, Jan 12, 2022 at 10:49:56AM +0100, Andreas Rheinhardt wrote:
> lance.lmwang@gmail.com:
> > From: Limin Wang <lance.lmwang@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@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.

Thanks, will apply and backport it to 5.0


> 
> - Andreas
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

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 },