GPUVideo-android
GPUVideo-android copied to clipboard
Fix problem with files in internal storage
We are working with FileInputStream and have two ways to read it. We should unbind from the string path after reading the FileInputStream.
In some cases, for internal storage files with the path "content:// ..." we will get a read error. (getVideoRotation and getVideoResolution funs)
Example: start the system camera, take a video, get Uri to video in app's internal storage
This issue appeared after support https://github.com/MasayukiSuda/GPUVideo-android/pull/91