diff options
author | Peter Ross <pross@xvid.org> | 2014-03-15 05:26:14 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-15 07:29:11 +0400 |
commit | ac9bfb1fafde15d7605869b2ed4b8d7af9317a8d (patch) | |
tree | adf256821a156e63d91f740dc21aec0f042ccfdc /libavformat/movenc.c | |
parent | dadf668df20e041b330fa4d3c5feb32a3f495d32 (diff) |
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/movenc.c')
-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); |