Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Preview for individual clips #23

Closed
owickstrom opened this issue Sep 30, 2018 · 1 comment
Closed

Preview for individual clips #23

owickstrom opened this issue Sep 30, 2018 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@owickstrom
Copy link
Owner

owickstrom commented Sep 30, 2018

Right now you can only preview sequences and parallels, not individual clips. It would be very useful to preview individual clips, preferably implemented using the same machinery as the current preview.

Related to #11.

@owickstrom owickstrom added the enhancement New feature or request label Sep 30, 2018
@owickstrom owickstrom added this to the 0.2.0 milestone Sep 30, 2018
@owickstrom owickstrom added the good first issue Good for newcomers label Jan 6, 2019
@Cmdv
Copy link
Contributor

Cmdv commented Jan 11, 2019

I took a look at this but couldn't quite work out some parts.

can see I need to add something like SomeVideoPart v -> ?? here:

flatComposition :: Maybe Render.Composition
flatComposition =
atFocus (model ^. currentFocus) (currentProject model ^. timeline)
Prelude.>>= \case
SomeSequence s -> Render.flattenSequence s
SomeParallel p -> Render.flattenParallel p
_ -> Nothing

I need Maybe Render.Composition but I have VideoPart () so not too sure how to get to that.

Feel like something in this function should help here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants