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

@@ -78,6 +78,12 @@ struct mp_codec_params {
// Corresponding codec profile
const char *codec_profile;
// E.g. "h264" (usually corresponds to AVCodec.name)
const char *decoder;
// Usually corresponds to AVCodec.long_name
const char *decoder_desc;
// Usually a FourCC, exact meaning depends on codec.
unsigned int codec_tag;