Commit a13eac5a authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

lavc: add codec ID and description for SVG

Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent 9c4e69b8
...@@ -445,6 +445,7 @@ enum AVCodecID { ...@@ -445,6 +445,7 @@ enum AVCodecID {
AV_CODEC_ID_BITPACKED, AV_CODEC_ID_BITPACKED,
AV_CODEC_ID_MSCC, AV_CODEC_ID_MSCC,
AV_CODEC_ID_SRGC, AV_CODEC_ID_SRGC,
AV_CODEC_ID_SVG,
/* various PCM "codecs" */ /* various PCM "codecs" */
AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
......
...@@ -169,6 +169,14 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -169,6 +169,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"),
.props = AV_CODEC_PROP_LOSSY, .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, .id = AV_CODEC_ID_SVQ1,
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 57 #define LIBAVCODEC_VERSION_MAJOR 57
#define LIBAVCODEC_VERSION_MINOR 96 #define LIBAVCODEC_VERSION_MINOR 96
#define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_MICRO 101
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MINOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment