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

implemented VideoSequenceParser inspired by SDK_Segment_Utils.VideoSequencerParser from original SDK #67

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

BeezBeez
Copy link
Contributor

To simplify the manipulation of VideoSegment in Premiere Pro. Adobe provide the util class, VideoSegmentParser.

This pull request is a WIP re-implementation of this utility in a more agnostic way to let the users freely do what they want with the parsed datas.

@@ -1,3 +1,4 @@
#![allow(clippy::all)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this silence? Instead of this, can we fix the clippy lints, or at least silence only specific ones?

Comment on lines +38 to +43
log::debug!(
"Clip Operator: {:?} {:?} {:?}",
operator_node_type,
operator_node_hash,
operator_node_flags
);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of all these log::debug! calls, I think the parse_clip_operators should return a structute which has all these fields you print here, but the struct impls the Debug trait,. The end-user should just dbg!(parse_clip_operators(...) if they desire, or use the values in other way

Copy link
Owner

Choose a reason for hiding this comment

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

Or return a tuple of the current Ok and namely struct, i.e. Result<(ClipOperatorsMap, ParseClipOperatorStatus), Error>

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.

3 participants