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 Reader: simplify source_range and available_range in transcribe() of SourceClip #517

Merged
merged 3 commits into from
May 31, 2019

Conversation

freesonluxo
Copy link
Contributor

During _transcribe(), we store just one parent. This is great, but it would be even better to have the entire parent chain available - both for debugging and perhaps for logic. I believe there is at least one if statement which really wants to say "am I a clip in the CompositionMob", which would now be made a lot easier by this change.

@codecov-io
Copy link

codecov-io commented May 10, 2019

Codecov Report

Merging #517 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #517      +/-   ##
=========================================
- Coverage   88.82%   88.8%   -0.02%     
=========================================
  Files          68      68              
  Lines        7394    7399       +5     
=========================================
+ Hits         6568    6571       +3     
- Misses        826     828       +2
Impacted Files Coverage Δ
...neio_contrib/adapters/advanced_authoring_format.py 93.02% <100%> (-0.39%) ⬇️

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 d620d44...148f9b8. Read the comment docs.

@freesonluxo freesonluxo changed the title AAF Reader: _transcribe() now stores the chain of parents instead of just one AAF Reader: simplify source_range and available_range in transcribe() of SourceClip May 31, 2019
@ssteinbach ssteinbach added this to the Public Beta 11 milestone May 31, 2019
@ssteinbach ssteinbach merged commit 4ec5cb7 into AcademySoftwareFoundation:master May 31, 2019
@ssteinbach
Copy link
Collaborator

Awesome, thanks!

ssteinbach pushed a commit to ssteinbach/OpenTimelineIO that referenced this pull request Jun 20, 2019
… of SourceClip (AcademySoftwareFoundation#517)

* _transcribe() now stores the chain of parents instead of just one
* Reimplementation of source_range and available_range logic when transcribing aaf -> otio
* Adding comments to explain whats going on
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