[vlc-commits] [Git][videolan/vlc][master] 2 commits: swscale: map VLC_CODEC_YUV422A to AV_PIX_FMT_YUVA422P
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Oct 13 13:35:58 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
56aa94c4 by Steve Lhomme at 2023-10-13T12:49:33+00:00
swscale: map VLC_CODEC_YUV422A to AV_PIX_FMT_YUVA422P
This is the same chroma format.
- - - - -
d81b7508 by Steve Lhomme at 2023-10-13T12:49:33+00:00
swscale: map VLC_CODEC_YUV420A to AV_PIX_FMT_YUVA420P
This is the same chroma format.
- - - - -
1 changed file:
- modules/video_chroma/swscale.c
Changes:
=====================================
modules/video_chroma/swscale.c
=====================================
@@ -270,11 +270,11 @@ static void FixParameters( enum AVPixelFormat *pi_fmt, bool *pb_has_a, bool *pb_
switch( fmt )
{
case VLC_CODEC_YUV422A:
- *pi_fmt = AV_PIX_FMT_YUV422P;
+ *pi_fmt = AV_PIX_FMT_YUVA422P;
*pb_has_a = true;
break;
case VLC_CODEC_YUV420A:
- *pi_fmt = AV_PIX_FMT_YUV420P;
+ *pi_fmt = AV_PIX_FMT_YUVA420P;
*pb_has_a = true;
break;
case VLC_CODEC_YUVA:
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/236d2c3b224070e53d6223018bc7c2df2ddd311b...d81b7508446cb982c04787a2dca3bed579d29d1d
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/236d2c3b224070e53d6223018bc7c2df2ddd311b...d81b7508446cb982c04787a2dca3bed579d29d1d
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list