Skip to content

Conversation

@reinecke
Copy link
Collaborator

Fixed issue in FCP7 XML adapter where timecode objects without ntsc elements in their rate would not properly inherit the ntsc value from the parent context.

Most of our code was built around Premiere Pro XML files which explicitly include the ntsc element in their rate elements. XML coming from FCP 7 (maybe others) does not do this and would break the start time resolution for clips.

This may address the bug described in #830.

Summarize your change.

The main change here is that timecode elements are now evaluated in the context of their parent and allow for the FCP 7 XML inheritance patterns.

To simplify code paths, I refactored some of the functions around computing a rate float from the fcp two-part timebase and ntsc elements. Very little actual logic changed, just rules for resolving the values within rate elements.

@reinecke reinecke force-pushed the fix/ereinecke-830-fix-fcp7-xml-ntsc-start-timecode branch from f435ffc to d42dda8 Compare December 11, 2020 20:18
…lements in their rate would not properly inherit the ntsc value from the parent context.
@reinecke reinecke force-pushed the fix/ereinecke-830-fix-fcp7-xml-ntsc-start-timecode branch from d42dda8 to b9528e7 Compare December 11, 2020 20:24
@ssteinbach ssteinbach added this to the Public Beta 14 milestone Feb 18, 2021
@ssteinbach ssteinbach merged commit 6ed3b56 into AcademySoftwareFoundation:master Feb 18, 2021
@reinecke reinecke deleted the fix/ereinecke-830-fix-fcp7-xml-ntsc-start-timecode branch April 3, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants