diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2024-04-15 21:11:08 +0200 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-04-18 01:20:32 +0200 |
commit | a569c3ce0cf6251ecc8a641ce3f087b8ceb0b8ce (patch) | |
tree | ebd20b655ea80d5f0888f5c54c51d53b85a26caa /common | |
parent | 8a4ecda94074c27501b52bbc6e7d44828f5e4f7a (diff) | |
download | mpv-a569c3ce0cf6251ecc8a641ce3f087b8ceb0b8ce.tar.bz2 mpv-a569c3ce0cf6251ecc8a641ce3f087b8ceb0b8ce.tar.xz |
player/command: add track-list/N/decoder
Diffstat (limited to 'common')
-rw-r--r-- | common/av_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/av_common.c b/common/av_common.c index e5733c3848..277601d2fc 100644 --- a/common/av_common.c +++ b/common/av_common.c @@ -410,4 +410,6 @@ void mp_codec_info_from_av(const AVCodecContext *avctx, struct mp_codec_params * c->codec_profile = avcodec_profile_name(avctx->codec_id, avctx->profile); c->codec = avctx->codec_descriptor->name; c->codec_desc = avctx->codec_descriptor->long_name; + c->decoder = avctx->codec->name; + c->decoder_desc = avctx->codec->long_name; } |