player/command: add track-list/N/decoder

This commit is contained in:
Kacper Michajłow
2024-04-15 21:11:08 +02:00
parent 8a4ecda940
commit a569c3ce0c
7 changed files with 22 additions and 28 deletions

View File

@@ -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;
}