Skip to content

Commit

Permalink
Add #102 test
Browse files Browse the repository at this point in the history
  • Loading branch information
natario1 committed Aug 14, 2024
1 parent a38b73e commit 1051428
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file added lib/src/androidTest/assets/issue_102/sample.mp4
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -102,4 +103,13 @@ class IssuesTests {
}
Unit
}

@Test(timeout = 5000)
fun issue102() = with(Helper(102)) {
transcode {
addDataSource(input("sample.mp4"))
setValidator(WriteAlwaysValidator())
}
Unit
}
}

0 comments on commit 1051428

Please sign in to comment.