Commit 2c85727f authored by Paul B Mahol's avatar Paul B Mahol

lavc/codec_desc: add/update properties of some codecs

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 225d3cc1
...@@ -1154,7 +1154,7 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -1154,7 +1154,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.name = "cdxl", .name = "cdxl",
.long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"), .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
.props = AV_CODEC_PROP_LOSSY, .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
}, },
{ {
.id = AV_CODEC_ID_XBM, .id = AV_CODEC_ID_XBM,
...@@ -1224,13 +1224,15 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -1224,13 +1224,15 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.name = "escape130", .name = "escape130",
.long_name = NULL_IF_CONFIG_SMALL("Escape 130"), .long_name = NULL_IF_CONFIG_SMALL("Escape 130"),
.props = AV_CODEC_PROP_LOSSY,
}, },
{ {
.id = AV_CODEC_ID_EXR, .id = AV_CODEC_ID_EXR,
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.name = "exr", .name = "exr",
.long_name = NULL_IF_CONFIG_SMALL("OpenEXR image"), .long_name = NULL_IF_CONFIG_SMALL("OpenEXR image"),
.props = AV_CODEC_PROP_INTRA_ONLY, .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
AV_CODEC_PROP_LOSSLESS,
}, },
{ {
.id = AV_CODEC_ID_AVRP, .id = AV_CODEC_ID_AVRP,
...@@ -1292,12 +1294,14 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -1292,12 +1294,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.name = "sanm", .name = "sanm",
.long_name = NULL_IF_CONFIG_SMALL("LucasArts SMUSH video"), .long_name = NULL_IF_CONFIG_SMALL("LucasArts SMUSH video"),
.props = AV_CODEC_PROP_LOSSY,
}, },
{ {
.id = AV_CODEC_ID_PAF_VIDEO, .id = AV_CODEC_ID_PAF_VIDEO,
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.name = "paf_video", .name = "paf_video",
.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"), .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"),
.props = AV_CODEC_PROP_LOSSY,
}, },
{ {
.id = AV_CODEC_ID_AVRN, .id = AV_CODEC_ID_AVRN,
...@@ -2214,6 +2218,7 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -2214,6 +2218,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_AUDIO, .type = AVMEDIA_TYPE_AUDIO,
.name = "vima", .name = "vima",
.long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"), .long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
.props = AV_CODEC_PROP_LOSSY,
}, },
{ {
.id = AV_CODEC_ID_FFWAVESYNTH, .id = AV_CODEC_ID_FFWAVESYNTH,
...@@ -2244,6 +2249,7 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -2244,6 +2249,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_AUDIO, .type = AVMEDIA_TYPE_AUDIO,
.name = "paf_audio", .name = "paf_audio",
.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"), .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
.props = AV_CODEC_PROP_LOSSY,
}, },
{ {
.id = AV_CODEC_ID_OPUS, .id = AV_CODEC_ID_OPUS,
......
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