mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2026-10-28 09:43:51 +00:00
android: fix flickering and missing hardware decode setting
This commit is contained in:
1 parent
021d2c60b0
commit
55fb0afe8c
2 files changed
+1
-2
No files matched your search
@@ -182,7 +182,7 @@ void vpi_menu_settings(vui_context_t *vui, void *v)
|
||||
sc++;
|
||||
#endif
|
||||
|
||||
#if defined(VANILLA_CUDA_AVAILABLE) || defined(VANILLA_DRM_AVAILABLE) || defined(VANILLA_VAAPI_AVAILABLE)
|
||||
#if defined(VANILLA_CUDA_AVAILABLE) || defined(VANILLA_DRM_AVAILABLE) || defined(VANILLA_VAAPI_AVAILABLE) || defined(ANDROID)
|
||||
#define VANILLA_HAS_HWDEC
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2203,7 +2203,6 @@ int vui_update_sdl(vui_context_t *vui)
|
||||
SDL_DestroyTexture(sdl_ctx->game_tex);
|
||||
}
|
||||
sdl_ctx->game_tex = sdl_ctx->android_video_tex;
|
||||
sdl_ctx->android_video_ready = 0;
|
||||
if (av_mediacodec_release_buffer(buffer, 1) < 0) {
|
||||
vpilog("Failed to render MediaCodec output buffer\n");
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user