mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
dca: add profile names
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f4096bf6eeddc605457192476dbbf110d4cc6140)
This commit is contained in:
parent
17d4f4558e
commit
6345dfcfd0
@ -1866,6 +1866,15 @@ static av_cold int dca_decode_end(AVCodecContext * avctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const AVProfile profiles[] = {
|
||||||
|
{ FF_PROFILE_DTS, "DTS" },
|
||||||
|
{ FF_PROFILE_DTS_ES, "DTS-ES" },
|
||||||
|
{ FF_PROFILE_DTS_96_24, "DTS 96/24" },
|
||||||
|
{ FF_PROFILE_DTS_HD_HRA, "DTS-HD HRA" },
|
||||||
|
{ FF_PROFILE_DTS_HD_MA, "DTS-HD MA" },
|
||||||
|
{ FF_PROFILE_UNKNOWN },
|
||||||
|
};
|
||||||
|
|
||||||
AVCodec dca_decoder = {
|
AVCodec dca_decoder = {
|
||||||
.name = "dca",
|
.name = "dca",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
@ -1876,4 +1885,5 @@ AVCodec dca_decoder = {
|
|||||||
.close = dca_decode_end,
|
.close = dca_decode_end,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
|
.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
|
||||||
.capabilities = CODEC_CAP_CHANNEL_CONF,
|
.capabilities = CODEC_CAP_CHANNEL_CONF,
|
||||||
|
.profiles = NULL_IF_CONFIG_SMALL(profiles),
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user