summaryrefslogtreecommitdiffstats
path: root/libavcodec/codec_desc.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-05-08 04:59:40 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-05-16 11:26:50 +0100
commita13eac5a9959cb14b780b0938f56b627237f3d19 (patch)
tree6439022b61323774fd4f45ea8da0c1de26e168c4 /libavcodec/codec_desc.c
parent9c4e69b8eac8955ce65df2fba2addaeefe81784f (diff)
downloadffmpeg-streaming-a13eac5a9959cb14b780b0938f56b627237f3d19.zip
ffmpeg-streaming-a13eac5a9959cb14b780b0938f56b627237f3d19.tar.gz
lavc: add codec ID and description for SVG
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/codec_desc.c')
-rw-r--r--libavcodec/codec_desc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 2d28f84..f0ca4ba 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -170,6 +170,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
.props = AV_CODEC_PROP_LOSSY,
},
{
+ .id = AV_CODEC_ID_SVG,
+ .type = AVMEDIA_TYPE_VIDEO,
+ .name = "svg",
+ .long_name = NULL_IF_CONFIG_SMALL("Scalable Vector Graphics"),
+ .props = AV_CODEC_PROP_LOSSLESS,
+ .mime_types= MT("image/svg+xml"),
+ },
+ {
.id = AV_CODEC_ID_SVQ1,
.type = AVMEDIA_TYPE_VIDEO,
.name = "svq1",
OpenPOWER on IntegriCloud