diff options
author | Peter Ross <pross@xvid.org> | 2014-03-15 12:26:14 +1100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-15 04:29:11 +0100 |
commit | ac9bfb1fafde15d7605869b2ed4b8d7af9317a8d (patch) | |
tree | adf256821a156e63d91f740dc21aec0f042ccfdc | |
parent | dadf668df20e041b330fa4d3c5feb32a3f495d32 (diff) | |
download | ffmpeg-ac9bfb1fafde15d7605869b2ed4b8d7af9317a8d.tar.gz |
avformat/movenc: encode compilation metadata
Fixes ticket #2960.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/movenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 954b208dcd..47594d04da 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2242,6 +2242,7 @@ static int mov_write_ilst_tag(AVIOContext *pb, MOVMuxContext *mov, mov_write_int8_metadata (s, pb, "stik", "media_type",1); mov_write_int8_metadata (s, pb, "hdvd", "hd_video", 1); mov_write_int8_metadata (s, pb, "pgap", "gapless_playback",1); + mov_write_int8_metadata (s, pb, "cpil", "compilation", 1); mov_write_trkn_tag(pb, mov, s, 0); // track number mov_write_trkn_tag(pb, mov, s, 1); // disc number mov_write_tmpo_tag(pb, s); |