summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-12-04 23:39:00 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-12-04 23:39:00 +0200
commitcfd750395904bd3d0d4da1f9ba46851b4658d25c (patch)
tree60b8b7a909926d3b1ea3dfbe6d225089158990e7
parentbedc1d982da8fe556900b47e01d9a2303b688dbe (diff)
downloadgst-libav-cfd750395904bd3d0d4da1f9ba46851b4658d25c.tar.gz
avcodecmap: Add mapping for Flash Screen2 codec
-rw-r--r--ext/libav/gstavcodecmap.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c
index 690ef47..25c21d1 100644
--- a/ext/libav/gstavcodecmap.c
+++ b/ext/libav/gstavcodecmap.c
@@ -1277,6 +1277,12 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
"video/x-flash-screen", NULL);
break;
+ case AV_CODEC_ID_FLASHSV2:
+ caps =
+ gst_ff_vid_caps_new (context, NULL, codec_id, encode,
+ "video/x-flash-screen2", NULL);
+ break;
+
case AV_CODEC_ID_VP3:
caps =
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-vp3",
@@ -3939,6 +3945,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context)
} else if (!strcmp (mimetype, "video/x-flash-screen")) {
id = AV_CODEC_ID_FLASHSV;
video = TRUE;
+ } else if (!strcmp (mimetype, "video/x-flash-screen2")) {
+ id = AV_CODEC_ID_FLASHSV2;
+ video = TRUE;
} else if (!strcmp (mimetype, "video/x-indeo")) {
gint indeoversion = 0;