allow fast trimming in the video editor, should fix some glitches
This commit is contained in:
parent
48bf301e55
commit
02afd54309
1 changed files with 3 additions and 2 deletions
|
@ -222,7 +222,7 @@ class NewVideoEditActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun openEditor(inputVideo: Uri) {
|
||||
val settingsList = createPesdkSettingsList()
|
||||
val settingsList = createVesdkSettingsList()
|
||||
|
||||
settingsList.configure<LoadSettings> {
|
||||
it.source = inputVideo
|
||||
|
@ -235,7 +235,7 @@ class NewVideoEditActivity : SimpleActivity() {
|
|||
.startActivityForResult(this, VESDK_EDIT_VIDEO)
|
||||
}
|
||||
|
||||
private fun createPesdkSettingsList(): VideoEditorSettingsList {
|
||||
private fun createVesdkSettingsList(): VideoEditorSettingsList {
|
||||
val settingsList = VideoEditorSettingsList().apply {
|
||||
configure<UiConfigFilter> {
|
||||
it.setFilterList(FilterPackBasic.getFilterPack())
|
||||
|
@ -288,6 +288,7 @@ class NewVideoEditActivity : SimpleActivity() {
|
|||
getSettingsModel(UiConfigTheme::class.java).theme = R.style.Imgly_Theme_NoFullscreen
|
||||
|
||||
configure<VideoEditorSaveSettings> {
|
||||
it.allowFastTrim = true
|
||||
it.allowOrientationMatrixMetadata = true
|
||||
it.setOutputToTemp()
|
||||
it.outputMode = OutputMode.EXPORT_IF_NECESSARY
|
||||
|
|
Loading…
Reference in a new issue