diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-12-15 19:34:09 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-12-26 14:22:29 +0400 |
commit | 3701d547acf0e6eaf25b897e4e3bcdf91854b1f8 (patch) | |
tree | 16bf6bf6196eae51dc59cacfb7db61dc200f43cd /libavformat | |
parent | 831f6cd6059222aaa68eeab52fd63b4555dc38b8 (diff) |
gxf: remove gxf_ prefix to timecode metadata keys.
This will allow a shared "timecode" key metadata between formats to ease
third-party extraction.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/gxf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 95a8142a98..e773ba7775 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -339,7 +339,7 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) { gxf_track_tags(pb, &track_len, si); // check for timecode tracks if (track_type == 7 || track_type == 8 || track_type == 24) { - add_timecode_metadata(&s->metadata, "gxf_timecode", + add_timecode_metadata(&s->metadata, "timecode", si->track_aux_data & 0xffffffff, si->fields_per_frame); @@ -390,9 +390,9 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) { if (len >= 0x18) { len -= 0x18; avio_skip(pb, 0x10); - add_timecode_metadata(&s->metadata, "gxf_timecode_at_mark_in", + add_timecode_metadata(&s->metadata, "timecode_at_mark_in", avio_rl32(pb), si->fields_per_frame); - add_timecode_metadata(&s->metadata, "gxf_timecode_at_mark_out", + add_timecode_metadata(&s->metadata, "timecode_at_mark_out", avio_rl32(pb), si->fields_per_frame); } } else |