summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-04-29 17:40:57 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-18 20:34:03 +0200
commit0ba5299a805e9ccaef1a757381fc2ada4d54b8a1 (patch)
treec1eb41ce0d7d58ffd6bca42575a0dc79c9c98e19 /libavformat/movenc.h
parent6656370b858329ca07a60a2de954d5e90daa0206 (diff)
movenc: use the "encoder" metadata tag to write stsd Compressorname
This mirrors the demuxer behaviour and avoids accessing AVCodecContext.codec, which should not be done in muxers.
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 226a28f165..3410080780 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -91,6 +91,7 @@ typedef struct MOVTrack {
int language;
int track_id;
int tag; ///< stsd fourcc
+ AVStream *st;
AVCodecContext *enc;
int vos_len;