aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/format/Android720pFormatStrategy.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/format/Android720pFormatStrategy.java b/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/format/Android720pFormatStrategy.java
index dc59caa1d..9423d4819 100644
--- a/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/format/Android720pFormatStrategy.java
+++ b/libs/android-transcoder/src/main/java/net/ypresto/androidtranscoder/format/Android720pFormatStrategy.java
@@ -63,8 +63,8 @@ class Android720pFormatStrategy implements MediaFormatStrategy {
if (longer * 9 != shorter * 16) {
throw new OutputFormatUnavailableException("This video is not 16:9, and is not able to transcode. (" + width + "x" + height + ")");
}
- if (shorter <= SHORTER_LENGTH) {
- Log.d(TAG, "This video is less or equal to 720p, pass-through. (" + width + "x" + height + ")");
+ if (shorter < SHORTER_LENGTH) {
+ Log.d(TAG, "This video is less to 720p, pass-through. (" + width + "x" + height + ")");
return null;
}
MediaFormat format = MediaFormat.createVideoFormat("video/avc", outWidth, outHeight);