summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2024-04-15 21:11:08 +0200
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 01:20:32 +0200
commita569c3ce0cf6251ecc8a641ce3f087b8ceb0b8ce (patch)
treeebd20b655ea80d5f0888f5c54c51d53b85a26caa /demux
parent8a4ecda94074c27501b52bbc6e7d44828f5e4f7a (diff)
downloadmpv-a569c3ce0cf6251ecc8a641ce3f087b8ceb0b8ce.tar.bz2
mpv-a569c3ce0cf6251ecc8a641ce3f087b8ceb0b8ce.tar.xz
player/command: add track-list/N/decoder
Diffstat (limited to 'demux')
-rw-r--r--demux/stheader.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/demux/stheader.h b/demux/stheader.h
index 4f33bbc711..036c8f54e7 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -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;