aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2014-03-15 12:26:14 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-15 04:29:11 +0100
commitac9bfb1fafde15d7605869b2ed4b8d7af9317a8d (patch)
treeadf256821a156e63d91f740dc21aec0f042ccfdc /libavformat
parentdadf668df20e041b330fa4d3c5feb32a3f495d32 (diff)
downloadffmpeg-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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c1
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);