Skip to content

Commit

Permalink
trim video on transcoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmm committed May 30, 2016
1 parent 3a897c8 commit 459c571
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void onTranscodeFailed(Exception exception) {
};
Log.d(TAG, "transcoding into " + file);
mFuture = MediaTranscoder.getInstance().transcodeVideo(fileDescriptor, file.getAbsolutePath(),
MediaFormatStrategyPresets.createAndroid720pStrategy(), listener);
MediaFormatStrategyPresets.createAndroid720pStrategy(), listener, 0);
switchButtonEnabled(true);
}
break;
Expand Down

1 comment on commit 459c571

@ypresto
Copy link

@ypresto ypresto commented on 459c571 Aug 1, 2016

Choose a reason for hiding this comment

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

There is pull-request for trim video..! ypresto#14

Please sign in to comment.