mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Demo: Shorten trim range from 60 seconds to 10 seconds.
Most demo videos aren't very long, and the default demo video is only 10 seconds.
Shorten the maximum trim duration to 10 seconds, to demonstrate transformer functionality more easily, and allow this to be used more easily when trimming short sections of a longer video (ex. to make test clips)
PiperOrigin-RevId: 480602037
(cherry picked from commit 3142a2127d)
This commit is contained in:
parent
2244549146
commit
4198ddebe2
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ public final class ConfigurationActivity extends AppCompatActivity {
|
|||
View dialogView = getLayoutInflater().inflate(R.layout.trim_options, /* root= */ null);
|
||||
RangeSlider trimRangeSlider =
|
||||
checkNotNull(dialogView.findViewById(R.id.trim_bounds_range_slider));
|
||||
trimRangeSlider.setValues(0f, 60f); // seconds
|
||||
trimRangeSlider.setValues(0f, 10f); // seconds
|
||||
new AlertDialog.Builder(/* context= */ this)
|
||||
.setView(dialogView)
|
||||
.setPositiveButton(
|
||||
|
|
|
|||
Loading…
Reference in a new issue