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

Flattening tracks sometimes splits contiguous clips into segments #1635

Open
jminor opened this issue Jun 26, 2023 · 1 comment
Open

Flattening tracks sometimes splits contiguous clips into segments #1635

jminor opened this issue Jun 26, 2023 · 1 comment
Labels
bug A problem, flaw, or broken functionality. good first issue If you're looking for a way to contribute, but not sure where to start. This is a good first issue. help wanted We're looking for help from the community - you're weclome to volunteer!

Comments

@jminor
Copy link
Collaborator

jminor commented Jun 26, 2023

Incorrect Functionality

If a track has adjacent Gaps, then items below the boundary between those Gaps are sliced in an unexpected way.

To Reproduce

Using this test file "bug_before_flatten_redacted.otio"...
flatten_bug_repro.zip

Run this command:

% otiotool -i bug_before_flatten_redacted.otio --flatten video -o out.otio

Expected Behavior

Clips below adjacent Gaps should not be segmented by the flatten operation. In the provided example, Clip #1 should be left as-is.

Screenshots

Here is a screenshot before flattening (note the highlighted Gap on the top track)
Screenshot 2023-06-26 at 10 45 25 AM

Here is the result after flattening (note that Clip #1 has been split in two)
Screenshot 2023-06-26 at 10 45 38 AM

@jminor jminor added the bug A problem, flaw, or broken functionality. label Jun 26, 2023
@jminor jminor added help wanted We're looking for help from the community - you're weclome to volunteer! good first issue If you're looking for a way to contribute, but not sure where to start. This is a good first issue. labels Jul 17, 2023
@douglascomet
Copy link
Contributor

Seems related to the behavior outlines in #1430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem, flaw, or broken functionality. good first issue If you're looking for a way to contribute, but not sure where to start. This is a good first issue. help wanted We're looking for help from the community - you're weclome to volunteer!
Projects
None yet
Development

No branches or pull requests

2 participants