mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
riff: add bpp to caps for msvideo
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686298
This commit is contained in:
parent
a5ef81e05e
commit
3787b6d05e
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue