mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
riff: Extract bpp from the strf for vnmc
Needed for avdec_vnmc to work.
This commit is contained in:
parent
8a20b06e0b
commit
088aebfda9
1 changed files with 2 additions and 0 deletions
|
@ -824,6 +824,8 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
case GST_MAKE_FOURCC ('V', 'M', 'n', 'c'):
|
||||
caps = gst_caps_new_simple ("video/x-vmnc",
|
||||
"version", G_TYPE_INT, 1, NULL);
|
||||
if (strf && strf->bit_cnt != 0)
|
||||
gst_caps_set_simple (caps, "bpp", G_TYPE_INT, strf->bit_cnt, NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("VMWare NC Video");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue