mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
avcodecmap: Add support for packed 32bit RGBx variants
We can support those, so just add the mapping
This commit is contained in:
parent
ac4a47bacb
commit
9258b8ba53
1 changed files with 4 additions and 0 deletions
|
@ -2605,9 +2605,13 @@ static const PixToFmt pixtofmttable[] = {
|
|||
{GST_VIDEO_FORMAT_UYVY, AV_PIX_FMT_UYVY422},
|
||||
/* GST_VIDEO_FORMAT_AYUV, */
|
||||
/* GST_VIDEO_FORMAT_RGBx, */
|
||||
{GST_VIDEO_FORMAT_RGBx, AV_PIX_FMT_RGB0},
|
||||
/* GST_VIDEO_FORMAT_BGRx, */
|
||||
{GST_VIDEO_FORMAT_BGRx, AV_PIX_FMT_BGR0},
|
||||
/* GST_VIDEO_FORMAT_xRGB, */
|
||||
{GST_VIDEO_FORMAT_xRGB, AV_PIX_FMT_0RGB},
|
||||
/* GST_VIDEO_FORMAT_xBGR, */
|
||||
{GST_VIDEO_FORMAT_xBGR, AV_PIX_FMT_0BGR},
|
||||
/* GST_VIDEO_FORMAT_RGBA, */
|
||||
{GST_VIDEO_FORMAT_RGBA, AV_PIX_FMT_RGBA},
|
||||
/* GST_VIDEO_FORMAT_BGRA, */
|
||||
|
|
Loading…
Reference in a new issue