mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
riff: Provide correct media type for MSS1 and MSS2
Windows Media Video Screen (WMV Screen) are video formats that specilise in screencast content. This provides a correct media type for them instead of just video/x-asf-unknown.
This commit is contained in:
parent
5c1ffc9e92
commit
f20972c6a9
1 changed files with 14 additions and 0 deletions
|
@ -528,6 +528,20 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
*codec_name = g_strdup ("DVCPro50 Video");
|
||||
break;
|
||||
|
||||
case GST_MAKE_FOURCC ('M', 'S', 'S', '1'):
|
||||
caps = gst_caps_new_simple ("video/x-wmv",
|
||||
"wmvversion", G_TYPE_INT, 1, "format", G_TYPE_STRING, "MSS1", NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("Microsoft Windows Media 7 Screen");
|
||||
break;
|
||||
|
||||
case GST_MAKE_FOURCC ('M', 'S', 'S', '2'):
|
||||
caps = gst_caps_new_simple ("video/x-wmv",
|
||||
"wmvversion", G_TYPE_INT, 3, "format", G_TYPE_STRING, "MSS2", NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("Microsoft Windows Media 9 Screen");
|
||||
break;
|
||||
|
||||
case GST_MAKE_FOURCC ('W', 'M', 'V', '1'):
|
||||
caps = gst_caps_new_simple ("video/x-wmv",
|
||||
"wmvversion", G_TYPE_INT, 1, NULL);
|
||||
|
|
Loading…
Reference in a new issue