diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-04-29 17:40:57 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-18 20:34:03 +0200 |
commit | 0ba5299a805e9ccaef1a757381fc2ada4d54b8a1 (patch) | |
tree | c1eb41ce0d7d58ffd6bca42575a0dc79c9c98e19 /libavformat/movenc.h | |
parent | 6656370b858329ca07a60a2de954d5e90daa0206 (diff) | |
download | ffmpeg-0ba5299a805e9ccaef1a757381fc2ada4d54b8a1.tar.gz |
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.h | 1 |
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; |