Skip to content

Commit

Permalink
Merge pull request #13 from vkis87/main
Browse files Browse the repository at this point in the history
Fix time problem of output video
  • Loading branch information
dragermrb authored Aug 10, 2023
2 parents 21c1c11 + c7a3c65 commit 4ffef62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies {
implementation project(':capacitor-android')
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"

implementation 'com.linkedin.android.litr:litr:1.4.18'
implementation 'com.linkedin.android.litr:litr:1.5.5'

testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public void edit(Context context, File srcFile, File outFile, TrimSettings trimS
TransformationOptions transformationOptions = new TransformationOptions.Builder()
.setGranularity(MediaTransformer.GRANULARITY_DEFAULT)
.setSourceMediaRange(new MediaRange(startsAtUs, endsAtUs))
.setRemoveMetadata(true)
.build();

// Video codec config
Expand Down

0 comments on commit 4ffef62

Please sign in to comment.