Commit 3787b6d0 authored by Wim Taymans's avatar Wim Taymans

riff: add bpp to caps for msvideo

parent a5ef81e0
......@@ -562,6 +562,10 @@ gst_riff_create_video_caps (guint32 codec_fcc,
case GST_MAKE_FOURCC ('w', 'h', 'a', 'm'):
caps = gst_caps_new_simple ("video/x-msvideocodec",
"msvideoversion", G_TYPE_INT, 1, NULL);
if (strf) {
gst_caps_set_simple (caps, "bpp",
G_TYPE_INT, (int) strf->bit_cnt, NULL);
if (codec_name)
*codec_name = g_strdup ("MS video v1");
palette = strf_data;
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