diff options
Diffstat (limited to '')
-rw-r--r-- | libs/android-transcoder/src/main/AndroidManifest.xml | 3 | ||||
-rw-r--r-- | libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/engine/MediaTranscoderEngine.java | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/libs/android-transcoder/src/main/AndroidManifest.xml b/libs/android-transcoder/src/main/AndroidManifest.xml index 8f4da3821..0bfa93402 100644 --- a/libs/android-transcoder/src/main/AndroidManifest.xml +++ b/libs/android-transcoder/src/main/AndroidManifest.xml @@ -1,4 +1,5 @@ -<manifest package="net.ypresto.androidtranscoder"> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="net.ypresto.androidtranscoder"> <application /> diff --git a/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/engine/MediaTranscoderEngine.java b/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/engine/MediaTranscoderEngine.java index 64a1edef4..e56e307b1 100644 --- a/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/engine/MediaTranscoderEngine.java +++ b/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/engine/MediaTranscoderEngine.java @@ -180,7 +180,7 @@ public class MediaTranscoderEngine { mExtractor.selectTrack(trackResult.mAudioTrackIndex); } - private void runPipelines() { + private void runPipelines() throws InterruptedException { long loopCount = 0; if (mDurationUs <= 0) { double progress = PROGRESS_UNKNOWN; @@ -199,11 +199,7 @@ public class MediaTranscoderEngine { if (mProgressCallback != null) mProgressCallback.onProgress(progress); } if (!stepped) { - try { - Thread.sleep(SLEEP_TO_WAIT_TRACK_TRANSCODERS); - } catch (InterruptedException e) { - // nothing to do - } + Thread.sleep(SLEEP_TO_WAIT_TRACK_TRANSCODERS); } } } |