mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
video: fix AV12 format lacking the GST_VIDEO_FORMAT_FLAG_ALPHA flag
The GST_VIDEO_FORMAT_FLAG_ALPHA indicates whether a video format has an alpha channel. AV12 does have an alpha plane. Switching from MAKE_YUV_FORMAT to MAKE_YUVA_FORMAT to generate GST_VIDEO_FORMAT_AV12. Fixes #4081 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8067>
This commit is contained in:
parent
abb11ad8b4
commit
acc1309cdf
1 changed files with 1 additions and 1 deletions
|
@ -8026,7 +8026,7 @@ static const VideoFormat formats[] = {
|
|||
PACK_RGBP),
|
||||
MAKE_RGB_FORMAT (BGRP, "raw video", DPTH888, PSTR111, PLANE210, OFFS0, SUB444,
|
||||
PACK_BGRP),
|
||||
MAKE_YUV_FORMAT (AV12, "raw video", GST_MAKE_FOURCC ('A', 'V', '1', '2'),
|
||||
MAKE_YUVA_FORMAT (AV12, "raw video", GST_MAKE_FOURCC ('A', 'V', '1', '2'),
|
||||
DPTH8888, PSTR1221, PLANE0112, OFFS001, SUB4204, PACK_AV12),
|
||||
MAKE_RGBA_LE_FORMAT (ARGB64_LE, "raw video", DPTH16_16_16_16, PSTR8888,
|
||||
PLANE0, OFFS2460, SUB4444, PACK_ARGB64_LE),
|
||||
|
|
Loading…
Reference in a new issue