change the string used for determining if a video is a panoramic one
This commit is contained in:
parent
124cb9334c
commit
0cad141a5b
|
@ -736,7 +736,10 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue