mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
codecmap: add mapping for MSS1 and MSS2
Windows Media Video Screen (WMV Screen) are video formats that specilise in screencast content.
This commit is contained in:
parent
6571196fb8
commit
690ca42e6e
1 changed files with 12 additions and 0 deletions
|
@ -1365,6 +1365,18 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
||||||
"video/x-msvideocodec", "msvideoversion", G_TYPE_INT, 1, NULL);
|
"video/x-msvideocodec", "msvideoversion", G_TYPE_INT, 1, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case AV_CODEC_ID_MSS1:
|
||||||
|
caps =
|
||||||
|
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-wmv",
|
||||||
|
"wmvversion", G_TYPE_INT, 1, "format", G_TYPE_STRING, "MSS1", NULL);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case AV_CODEC_ID_MSS2:
|
||||||
|
caps =
|
||||||
|
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-wmv",
|
||||||
|
"wmvversion", G_TYPE_INT, 3, "format", G_TYPE_STRING, "MSS2", NULL);
|
||||||
|
break;
|
||||||
|
|
||||||
case AV_CODEC_ID_WMV3:
|
case AV_CODEC_ID_WMV3:
|
||||||
caps =
|
caps =
|
||||||
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-wmv",
|
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-wmv",
|
||||||
|
|
Loading…
Reference in a new issue