Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAF Writer: To get the edit rate, look at the first "child" not the first "clip". #518

Merged
merged 2 commits into from
May 24, 2019

Conversation

freesonluxo
Copy link
Contributor

This simple change is to address cases where the track has all gaps and does not have proper "clip"s

@codecov-io
Copy link

codecov-io commented May 21, 2019

Codecov Report

Merging #518 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #518      +/-   ##
==========================================
+ Coverage   88.81%   88.82%   +<.01%     
==========================================
  Files          68       68              
  Lines        7388     7394       +6     
==========================================
+ Hits         6562     6568       +6     
  Misses        826      826
Impacted Files Coverage Δ
...elineio_contrib/adapters/tests/test_aaf_adapter.py 98.46% <100%> (+0.01%) ⬆️
...elineio_contrib/adapters/aaf_adapter/aaf_writer.py 97.23% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e93a8a...39a64c2. Read the comment docs.

Copy link
Collaborator

@ssteinbach ssteinbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add a test for this, an all-gaps track seems like a really good corner case to test for. Thanks!

Copy link
Collaborator

@ssteinbach ssteinbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@ssteinbach
Copy link
Collaborator

That unit test you added could be useful in the future to poke at simplification stuff as well. Thanks!

@ssteinbach ssteinbach added this to the Public Beta 11 milestone May 24, 2019
@ssteinbach ssteinbach merged commit d620d44 into AcademySoftwareFoundation:master May 24, 2019
@freesonluxo freesonluxo deleted the otio-326 branch May 24, 2019 21:58
ssteinbach pushed a commit to ssteinbach/OpenTimelineIO that referenced this pull request Jun 20, 2019
…irst "clip". (AcademySoftwareFoundation#518)

* To get the edit rate, look at the first child, not the first clip. This is necessary for tracks with all gaps
* Adding a test for just gaps.otio file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants