diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2011-01-22 01:58:55 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-23 21:32:07 +0300 |
commit | 6345dfcfd055cdab7755b22c5001cb03fcdd7efc (patch) | |
tree | df6a79bd46d9e60364f599035cfd0883e57489da /libavcodec/dca.c | |
parent | 17d4f4558e84da9984f4fafd033e5c46314844f6 (diff) |
dca: add profile names
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f4096bf6eeddc605457192476dbbf110d4cc6140)
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r-- | libavcodec/dca.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index 64a81d577c..1e05561f25 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1866,6 +1866,15 @@ static av_cold int dca_decode_end(AVCodecContext * avctx) 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 = { .name = "dca", .type = AVMEDIA_TYPE_AUDIO, @@ -1876,4 +1885,5 @@ AVCodec dca_decoder = { .close = dca_decode_end, .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), .capabilities = CODEC_CAP_CHANNEL_CONF, + .profiles = NULL_IF_CONFIG_SMALL(profiles), }; |