mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Fix story audio export
This commit is contained in:
parent
75e1ad1d55
commit
11aa9be45c
@ -505,7 +505,7 @@ public final class MediaEditorVideoExport {
|
|||||||
result = trackTrimRange
|
result = trackTrimRange
|
||||||
}
|
}
|
||||||
if trackStart + result.duration > maxDuration {
|
if trackStart + result.duration > maxDuration {
|
||||||
result = CMTimeRange(start: result.start, end: maxDuration - trackStart)
|
result = CMTimeRange(start: result.start, duration: maxDuration - trackStart)
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user