diff options
author | wm4 <wm4@nowhere> | 2015-10-01 21:57:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-01 21:57:35 +0200 |
commit | ae7212963ee55c11cf025beccf86c55c1d898128 (patch) | |
tree | 6adadbe4f48b29847a3719c6dbdce4b1d2a3d625 /demux/cue.h | |
parent | 24f34c9e8e4131b0b01b7bf08eaa8b5095286631 (diff) | |
download | mpv-ae7212963ee55c11cf025beccf86c55c1d898128.tar.bz2 mpv-ae7212963ee55c11cf025beccf86c55c1d898128.tar.xz |
cue: read more metadata
Make handling of metadata slightly more generic, and add reading of the
"PERFORMER" fields. There are some more fields, but for now let's leave
it at this.
TRACK-specific PERFORMER fields have to be read from the per-chapter
metadata (somewhat obscure).
Fixes #2328.
Diffstat (limited to 'demux/cue.h')
-rw-r--r-- | demux/cue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/cue.h b/demux/cue.h index 5645dd01ab..cf4b4c1a08 100644 --- a/demux/cue.h +++ b/demux/cue.h @@ -25,6 +25,7 @@ struct cue_file { struct cue_track *tracks; int num_tracks; + struct mp_tags *tags; }; struct cue_track { @@ -32,7 +33,7 @@ struct cue_track { double start; // corresponds to INDEX 01 char *filename; int source; - char *title; + struct mp_tags *tags; }; bool mp_probe_cue(struct bstr data); |