avcodecmap: Add support for packed 32bit RGBx variants

We can support those, so just add the mapping
This commit is contained in:
Edward Hervey 2016-11-24 17:15:14 +01:00 committed by Edward Hervey
parent ac4a47bacb
commit 9258b8ba53

View file

@ -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, */