mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
change the string used for determining if a video is a panoramic one
This commit is contained in:
parent
124cb9334c
commit
0cad141a5b
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue