android: fix flickering and missing hardware decode setting

This commit is contained in:
itsmattkc committed 2026-08-31 16:29:23 -07:00
1 parent 021d2c60b0
commit 55fb0afe8c
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -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
-1
View File
@@ -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;