New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 4.0 UnpupportedOperationException #39
Comments
Looks like a bug in Android 4.0: https://code.google.com/p/android/issues/detail?id=24327 So if you cannot update to 4.1 at least, it looks like the workaround is to recreate the buffers you are using, in Java. |
@aydinkn I get the same problem. Do you use FFmpegFrameFilter? |
@szitguy my application need FFmpegFrameFilter (for transpose). I changed application min android version to >= 4.1 for now. |
@aydinkn OK, but my app still want to support from Android4.0. |
@aydinkn I fixed the problem just now, i modified the "pull" method of class FFmpegFrameFilter, here is my "pull" code(look at the line writing "if (SystemVersionUtil.hasJellyBean())"):
|
@szitguy Your fix looks to me, no need to keep the old code around. So, remove the |
Replace method "pull" of class FFmpegFrameFilter to fix bug when using it on Android4.0. Check bytedeco/javacpp#39 for details.
@saudet OK! |
Replace method "pull" of class FFmpegFrameFilter to fix bug when using it on Android4.0. Check bytedeco/javacpp#39 for details.
Hi,
I am developing broadcaster software on Android with FFmpegFrameRecorder. It works well on Android 4.0 > Phones but when I try it on Android 4.0.4 tablet (Samsung Galaxy Tab GT-P5110) this error raised:
The text was updated successfully, but these errors were encountered: