diff --git a/lib/src/androidTest/assets/issue_102/sample.mp4 b/lib/src/androidTest/assets/issue_102/sample.mp4 new file mode 100644 index 00000000..8ce533f4 Binary files /dev/null and b/lib/src/androidTest/assets/issue_102/sample.mp4 differ diff --git a/lib/src/androidTest/java/com/otaliastudios/transcoder/integration/IssuesTests.kt b/lib/src/androidTest/java/com/otaliastudios/transcoder/integration/IssuesTests.kt index fe667eec..8650d87f 100644 --- a/lib/src/androidTest/java/com/otaliastudios/transcoder/integration/IssuesTests.kt +++ b/lib/src/androidTest/java/com/otaliastudios/transcoder/integration/IssuesTests.kt @@ -14,6 +14,7 @@ import com.otaliastudios.transcoder.source.AssetFileDescriptorDataSource import com.otaliastudios.transcoder.source.ClipDataSource import com.otaliastudios.transcoder.source.FileDescriptorDataSource import com.otaliastudios.transcoder.strategy.DefaultVideoStrategy +import com.otaliastudios.transcoder.validator.WriteAlwaysValidator import org.junit.Test import org.junit.runner.RunWith import java.io.File @@ -102,4 +103,13 @@ class IssuesTests { } Unit } + + @Test(timeout = 5000) + fun issue102() = with(Helper(102)) { + transcode { + addDataSource(input("sample.mp4")) + setValidator(WriteAlwaysValidator()) + } + Unit + } } \ No newline at end of file