Skip to content

Commit 459c571

Browse files
author
ehmm
committed
trim video on transcoding
1 parent 3a897c8 commit 459c571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/main/java/net/ypresto/androidtranscoder/example/TranscoderActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void onTranscodeFailed(Exception exception) {
104104
};
105105
Log.d(TAG, "transcoding into " + file);
106106
mFuture = MediaTranscoder.getInstance().transcodeVideo(fileDescriptor, file.getAbsolutePath(),
107-
MediaFormatStrategyPresets.createAndroid720pStrategy(), listener);
107+
MediaFormatStrategyPresets.createAndroid720pStrategy(), listener, 0);
108108
switchButtonEnabled(true);
109109
}
110110
break;

0 commit comments

Comments
 (0)