Browse Source

avformat/movenc: Add loction/xyz support to allow copying data between mov files

Fixes Ticket4337

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
a3ec1d6abd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/movenc.c

+ 1
- 0
libavformat/movenc.c View File

@@ -3080,6 +3080,7 @@ static int mov_write_udta_tag(AVIOContext *pb, MOVMuxContext *mov,
mov_write_string_metadata(s, pb_buf, "\251cpy", "copyright", 0); mov_write_string_metadata(s, pb_buf, "\251cpy", "copyright", 0);
mov_write_string_metadata(s, pb_buf, "\251mak", "make", 0); mov_write_string_metadata(s, pb_buf, "\251mak", "make", 0);
mov_write_string_metadata(s, pb_buf, "\251mod", "model", 0); mov_write_string_metadata(s, pb_buf, "\251mod", "model", 0);
mov_write_string_metadata(s, pb_buf, "\251xyz", "location", 0);
mov_write_raw_metadata_tag(s, pb_buf, "XMP_", "xmp"); mov_write_raw_metadata_tag(s, pb_buf, "XMP_", "xmp");
} else { } else {
/* iTunes meta data */ /* iTunes meta data */


Loading…
Cancel
Save