Commit 7faf9251 authored by Edward Hervey's avatar Edward Hervey
Browse files

riff: Add support for video/x-camstudio

parent 90847134
......@@ -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'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment