feat: support Item:Length metadata in MotionPhotoWriter
This commit is contained in:
1 parent
b50ced4bf5
commit
b5c3e2e435
1 file changed
+1
@@ -113,6 +113,7 @@ object MotionPhotoWriter {
|
||||
val segmentString = String(segmentData, StandardCharsets.UTF_8)
|
||||
|
||||
val regexes = listOf(
|
||||
"""Item:Length="(\d+)"""".toRegex(),
|
||||
"""MicroVideoOffset="(\d+)"""".toRegex(),
|
||||
"""VideoLength="(\d+)"""".toRegex()
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user