mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
change the string used for determining if a video is a panoramic one
This commit is contained in:
@@ -736,7 +736,10 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mIsPanorama = sb.toString().contains("<GSpherical:Spherical>true") || sb.toString().contains("GSpherical:Spherical=\"True\"")
|
|
||||||
|
val xmlString = sb.toString().toLowerCase()
|
||||||
|
mIsPanorama = xmlString.contains("gspherical:projectiontype>equirectangular") ||
|
||||||
|
xmlString.contains("gspherical:projectiontype=\"equirectangular\"")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user