GPUVideo-android icon indicating copy to clipboard operation
GPUVideo-android copied to clipboard

Fix problem with files in internal storage

Open Unchuris opened this issue 2 years ago • 0 comments

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

Unchuris avatar Jan 20 '23 19:01 Unchuris