summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-03-25 11:46:10 +0100
committerwm4 <wm4@nowhere>2014-04-04 18:35:29 +0200
commit41ba6dad721e618c0e54315bd72ad28afbd7b622 (patch)
tree15ba19792361da70f1b5228fb0aa68b299c24336 /demux/demux.h
parentcc3d4a2725df3a07d353588afde7773ddd8d5e3a (diff)
downloadmpv-41ba6dad721e618c0e54315bd72ad28afbd7b622.tar.bz2
mpv-41ba6dad721e618c0e54315bd72ad28afbd7b622.tar.xz
demux: add replaygain_data field to demuxer_t
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 62871ea836..2d2bdfacc3 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -143,6 +143,13 @@ struct matroska_data {
int num_ordered_chapters;
};
+struct replaygain_data {
+ float track_gain;
+ float track_peak;
+ float album_gain;
+ float album_peak;
+};
+
typedef struct demux_attachment
{
char *name;
@@ -193,6 +200,8 @@ typedef struct demuxer {
// for trivial demuxers which just read the whole file for codec to use
struct bstr file_contents;
+ struct replaygain_data *replaygain_data;
+
// If the file is a playlist file
struct playlist *playlist;