diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2014-03-12 10:41:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-13 14:36:20 +0100 |
commit | 04e14ec8f69c66681808609046111bc225119e8e (patch) | |
tree | d9cf84254ed05077141d7ae54c90bf3ff971533b /audio/decode/dec_audio.h | |
parent | 7918034e151a49fa84622cb3a2753377b3b5597b (diff) | |
download | mpv-04e14ec8f69c66681808609046111bc225119e8e.tar.bz2 mpv-04e14ec8f69c66681808609046111bc225119e8e.tar.xz |
af: add metadata field to af_stream and af_instance
This allows to propagate metadata information to audio filters.
Closes #632
Diffstat (limited to 'audio/decode/dec_audio.h')
-rw-r--r-- | audio/decode/dec_audio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h index c17a3baca3..8e9a1bcd12 100644 --- a/audio/decode/dec_audio.h +++ b/audio/decode/dec_audio.h @@ -21,6 +21,7 @@ #include "audio/chmap.h" #include "audio/audio.h" +#include "demux/demux.h" #include "demux/stheader.h" struct mp_audio_buffer; @@ -35,6 +36,7 @@ struct dec_audio { struct mp_audio_buffer *decode_buffer; struct af_stream *afilter; char *decoder_desc; + struct mp_tags *metadata; // set by decoder struct mp_audio decoded; // format of decoded audio (no data, temporarily // different from decode_buffer during format |