mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
riff-media: Fix the fourcc caps property for VC-1/WMVA
The caps property for carrying fourccs is 'format', not 'fourcc'
This commit is contained in:
parent
f5962f0a4f
commit
a9097080a3
1 changed files with 2 additions and 2 deletions
|
@ -505,7 +505,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
|
||||
case GST_MAKE_FOURCC ('W', 'M', 'V', 'A'):
|
||||
caps = gst_caps_new_simple ("video/x-wmv",
|
||||
"wmvversion", G_TYPE_INT, 3, "fourcc", GST_TYPE_FOURCC,
|
||||
"wmvversion", G_TYPE_INT, 3, "format", GST_TYPE_FOURCC,
|
||||
codec_fcc, NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("Microsoft Windows Media Advanced Profile");
|
||||
|
@ -513,7 +513,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
|
||||
case GST_MAKE_FOURCC ('W', 'V', 'C', '1'):
|
||||
caps = gst_caps_new_simple ("video/x-wmv",
|
||||
"wmvversion", G_TYPE_INT, 3, "fourcc", GST_TYPE_FOURCC,
|
||||
"wmvversion", G_TYPE_INT, 3, "format", GST_TYPE_FOURCC,
|
||||
codec_fcc, NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("Microsoft Windows Media VC-1");
|
||||
|
|
Loading…
Reference in a new issue