lavc: add codec descriptors for deprecated ids.

This commit is contained in:
Nicolas George 2014-04-16 20:56:19 +02:00
parent e419e29e1c
commit fa7bc7ed8b

View File

@ -2691,6 +2691,122 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("timed ID3 metadata"),
},
/* deprecated codec ids */
{
.id = AV_CODEC_ID_BRENDER_PIX_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "brender_pix_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("BRender PIX image (deprecated id)"),
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
},
{
.id = AV_CODEC_ID_ESCAPE130_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "escape130_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("Escape 130 (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_EXR_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "exr_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("OpenEXR image (deprecated id)"),
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
AV_CODEC_PROP_LOSSLESS,
},
{
.id = AV_CODEC_ID_G2M_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "g2m_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("Go2Meeting (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_HEVC_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "hevc_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("H.265 / HEVC (High Efficiency Video Coding) (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_PAF_VIDEO_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "paf_video_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_SANM_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "sanm_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("LucasArts SANM/SMUSH video (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_VP7_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "vp7_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("On2 VP7 (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_WEBP_DEPRECATED,
.type = AVMEDIA_TYPE_VIDEO,
.name = "webp_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("WebP (deprecated id)"),
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
AV_CODEC_PROP_LOSSLESS,
},
{
.id = AV_CODEC_ID_VIMA,
.type = AVMEDIA_TYPE_AUDIO,
.name = "vima",
.long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_ADPCM_VIMA_DEPRECATED,
.type = AVMEDIA_TYPE_AUDIO,
.name = "adpcm_vima_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_OPUS_DEPRECATED,
.type = AVMEDIA_TYPE_AUDIO,
.name = "opus_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("Opus (Opus Interactive Audio Codec) (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_PAF_AUDIO_DEPRECATED,
.type = AVMEDIA_TYPE_AUDIO,
.name = "paf_audio_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio (deprecated id)"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_PCM_S24LE_PLANAR_DEPRECATED,
.type = AVMEDIA_TYPE_AUDIO,
.name = "pcm_s24le_planar_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian planar (deprecated id)"),
.props = AV_CODEC_PROP_LOSSLESS,
},
{
.id = AV_CODEC_ID_PCM_S32LE_PLANAR_DEPRECATED,
.type = AVMEDIA_TYPE_AUDIO,
.name = "pcm_s32le_planar_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian planar (deprecated id)"),
.props = AV_CODEC_PROP_LOSSLESS,
},
{
.id = AV_CODEC_ID_TAK_DEPRECATED,
.type = AVMEDIA_TYPE_AUDIO,
.name = "tak_deprecated",
.long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor) (deprecated id)"),
.props = AV_CODEC_PROP_LOSSLESS,
},
};
const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)