riff: add support for raw monochrome 8-bit video

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692930
This commit is contained in:
Dirk Van Haerenborgh 2013-01-31 11:41:06 +01:00 committed by Wim Taymans
parent ef8e17f993
commit a81089614b

View file

@ -97,6 +97,14 @@ gst_riff_create_video_caps (guint32 codec_fcc,
}
break;
}
case GST_MAKE_FOURCC ('Y', '8', '0', '0'):
caps = gst_caps_new_simple ("video/x-raw",
"format", G_TYPE_STRING, "GRAY8", NULL);
if (codec_name)
*codec_name = g_strdup ("Uncompressed 8-bit monochrome");
break;
case GST_MAKE_FOURCC ('r', '2', '1', '0'):
caps = gst_caps_new_simple ("video/x-raw",
"format", G_TYPE_STRING, "r210", NULL);