mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
riff: Add support for video/x-camstudio
This commit is contained in:
parent
9084713492
commit
7faf92511a
1 changed files with 17 additions and 0 deletions
|
@ -717,6 +717,22 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
break;
|
||||
}
|
||||
|
||||
case GST_MAKE_FOURCC ('C', 'S', 'C', 'D'):
|
||||
{
|
||||
if (strf) {
|
||||
gint depth = (strf->bit_cnt != 0) ? (gint) strf->bit_cnt : 24;
|
||||
|
||||
caps = gst_caps_new_simple ("video/x-camstudio", "depth", G_TYPE_INT,
|
||||
depth, NULL);
|
||||
} else {
|
||||
/* template caps */
|
||||
caps = gst_caps_new_simple ("video/x-camstudio", NULL);
|
||||
}
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("Camstudio");
|
||||
break;
|
||||
}
|
||||
|
||||
case GST_MAKE_FOURCC ('V', 'C', 'R', '1'):
|
||||
caps = gst_caps_new_simple ("video/x-ati-vcr",
|
||||
"vcrversion", G_TYPE_INT, 1, NULL);
|
||||
|
@ -1737,6 +1753,7 @@ gst_riff_create_video_template_caps (void)
|
|||
GST_MAKE_FOURCC ('A', 'S', 'V', '1'),
|
||||
GST_MAKE_FOURCC ('A', 'S', 'V', '2'),
|
||||
GST_MAKE_FOURCC ('C', 'L', 'J', 'R'),
|
||||
GST_MAKE_FOURCC ('C', 'S', 'C', 'D'),
|
||||
GST_MAKE_FOURCC ('C', 'Y', 'U', 'V'),
|
||||
GST_MAKE_FOURCC ('D', 'I', 'B', ' '),
|
||||
GST_MAKE_FOURCC ('D', 'I', 'V', '3'),
|
||||
|
|
Loading…
Reference in a new issue