From 459c5713e804a873075ce9ca429661e2cc909a1a Mon Sep 17 00:00:00 2001 From: ehmm Date: Mon, 30 May 2016 16:21:33 +0200 Subject: [PATCH] trim video on transcoding --- .../ypresto/androidtranscoder/example/TranscoderActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/main/java/net/ypresto/androidtranscoder/example/TranscoderActivity.java b/example/src/main/java/net/ypresto/androidtranscoder/example/TranscoderActivity.java index ae29ea26..d108898e 100644 --- a/example/src/main/java/net/ypresto/androidtranscoder/example/TranscoderActivity.java +++ b/example/src/main/java/net/ypresto/androidtranscoder/example/TranscoderActivity.java @@ -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;