Suppose i have a video of 00:20 time, and i set a maximum trim of 00:10, if i scroll the video frames until the end, i will have a trim from 00:10 to 00:20. But if i move the right cursor to the left, the values return to the previous ones.
Integrating the library I solved this by modifying VideoTrimmerPresenter.kt method:
override fun onDragRangeBarEnd(left: Float, right: Float) {
calculateSelectedArea(left, right)
onSelectedRangeChangedListener?.onSelectRangeEnd(rawStartMillis, rawEndMillis)
}
in this:
override fun onDragRangeBarEnd(left: Float, right: Float) {
calculateSelectedArea(left, right)
onSelectedRangeChangedListener?.onSelectRangeEnd(startMillis, endMillis)
}
I look forward to getting feedback :]
thanks