diff --git a/audio/decode/ad_spdif.c b/audio/decode/ad_spdif.c index 1d9e9711fe6eb..d145de13420ab 100644 --- a/audio/decode/ad_spdif.c +++ b/audio/decode/ad_spdif.c @@ -446,6 +446,10 @@ static struct mp_decoder *create(struct mp_filter *parent, return NULL; } + const AVCodecDescriptor *desc = avcodec_descriptor_get(spdif_ctx->codec_id); + if (desc) + codec->codec_desc = desc->long_name; + return &spdif_ctx->public; }