markreidvfx / pyaaf

Python Bindings for the Advanced Authoring Format (AAF)
http://markreidvfx.github.io/pyaaf
MIT License
49 stars 9 forks source link

DataDef_LegacyTimecode #46

Closed ilansr closed 6 years ago

ilansr commented 6 years ago

Hi, When creating and inserting a TimeCode, it turns out in xml as DataDef_LegacyTimecode What are consequences of this? and is there a way around to create the non-Legacy TimeCode?
This is my code: timecode = d.create.Timecode(19565, 1819891, 25)
slot.segment.insert(0, timecode)

This is the xml output:

                  <Timecode>
                    <DropFrame>false</DropFrame>
                    <FramesPerSecond>25</FramesPerSecond>
                    <StartTimecode>1819891</StartTimecode>
                    <ComponentLength>19565</ComponentLength>
                    <ComponentDataDefinition>DataDef_LegacyTimecode</ComponentDataDefinition>
                  </Timecode

Thanks!