mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix story audio export
This commit is contained in:
parent
75e1ad1d55
commit
11aa9be45c
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ public final class MediaEditorVideoExport {
|
|||
result = trackTrimRange
|
||||
}
|
||||
if trackStart + result.duration > maxDuration {
|
||||
result = CMTimeRange(start: result.start, end: maxDuration - trackStart)
|
||||
result = CMTimeRange(start: result.start, duration: maxDuration - trackStart)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue