avcodecmap: Add mappings for the GBR color formats
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 10 Nov 2012 15:57:06 +0000 (16:57 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 10 Nov 2012 21:23:23 +0000 (22:23 +0100)
ext/libav/gstavcodecmap.c

index abf8f92..5d7dd23 100644 (file)
@@ -2182,6 +2182,11 @@ static const PixToFmt pixtofmttable[] = {
   {GST_VIDEO_FORMAT_I420_10BE, PIX_FMT_YUV420P10BE},
   {GST_VIDEO_FORMAT_I422_10LE, PIX_FMT_YUV422P10LE},
   {GST_VIDEO_FORMAT_I422_10BE, PIX_FMT_YUV422P10BE},
+  {GST_VIDEO_FORMAT_Y444_10LE, PIX_FMT_YUV444P10LE},
+  {GST_VIDEO_FORMAT_Y444_10BE, PIX_FMT_YUV444P10BE},
+  {GST_VIDEO_FORMAT_GBR, PIX_FMT_GBRP},
+  {GST_VIDEO_FORMAT_GBR_10LE, PIX_FMT_GBRP10LE},
+  {GST_VIDEO_FORMAT_GBR_10BE, PIX_FMT_GBRP10BE},
 };
 
 GstVideoFormat