Skip to content

Commit

Permalink
Add code and comment for sequence that doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
calren committed Mar 13, 2024
1 parent 73754bf commit 3871330
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,12 @@ class TransformerVideoComposition : Fragment() {
.setFrameRate(30)
.build()
val compositionSequences = ArrayList<EditedMediaItemSequence>()

// This works
val videoSequence = EditedMediaItemSequence(ImmutableList.of(video1, image, video2))
// This doesn't work and results in a 0 second video of the image being exported
// val videoSequence = EditedMediaItemSequence(ImmutableList.of(image, video1, video2))

compositionSequences.add(videoSequence)

if (binding.backgroundAudioChip.isChecked) {
Expand Down

0 comments on commit 3871330

Please sign in to comment.