mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[WIP] Stickers editor
This commit is contained in:
@@ -99,6 +99,10 @@ int FFMpegCodecIdVP9 = AV_CODEC_ID_VP9;
|
||||
return _impl->streams[streamIndex]->codecpar->codec_id;
|
||||
}
|
||||
|
||||
- (double)duration {
|
||||
return (double)_impl->duration / AV_TIME_BASE;
|
||||
}
|
||||
|
||||
- (int64_t)durationAtStreamIndex:(int32_t)streamIndex {
|
||||
return _impl->streams[streamIndex]->duration;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user