Browse code

wav muxer: write metadata

Signed-off-by: Anton Khirnov <anton@khirnov.net>

Victor Vasiliev authored on 2012/10/16 17:10:16
Showing 3 changed files
... ...
@@ -2,6 +2,7 @@ Entries are sorted chronologically from oldest to youngest within each release,
2 2
 releases are sorted from youngest to oldest.
3 3
 
4 4
 version <next>:
5
+- metadata (INFO tag) support in WAV muxer
5 6
 
6 7
 
7 8
 version 9_beta1:
... ...
@@ -30,7 +30,7 @@
30 30
 #include "libavutil/avutil.h"
31 31
 
32 32
 #define LIBAVFORMAT_VERSION_MAJOR 54
33
-#define LIBAVFORMAT_VERSION_MINOR 18
33
+#define LIBAVFORMAT_VERSION_MINOR 19
34 34
 #define LIBAVFORMAT_VERSION_MICRO  0
35 35
 
36 36
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
... ...
@@ -135,6 +135,9 @@ static int wav_write_header(AVFormatContext *s)
135 135
     wav->maxpts = wav->last_duration = 0;
136 136
     wav->minpts = INT64_MAX;
137 137
 
138
+    /* info header */
139
+    ff_riff_write_info(s);
140
+
138 141
     /* data header */
139 142
     wav->data = ff_start_tag(pb, "data");
140 143