mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
riff: add support for raw monochrome 8-bit video
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692930
This commit is contained in:
parent
ef8e17f993
commit
a81089614b
1 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||
|
@ -1621,7 +1629,7 @@ gst_riff_create_audio_caps (guint16 codec_id,
|
|||
/* recurse where no special consideration has yet to be identified
|
||||
* for the subformat guid */
|
||||
caps = gst_riff_create_audio_caps (subformat_guid[0], strh, strf,
|
||||
strf_data, strd_data, codec_name, channel_reorder_map);
|
||||
strf_data, strd_data, codec_name, channel_reorder_map);
|
||||
if (!codec_name)
|
||||
GST_DEBUG ("WAVE_FORMAT_EXTENSIBLE audio");
|
||||
if (caps) {
|
||||
|
|
Loading…
Reference in a new issue