[vlc-commits] [Git][videolan/vlc][master] vout: android: add missing vlc_gl_sub_renderer_SetOutputSize()

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Mar 13 07:40:45 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
68c41afa by Thomas Guillem at 2025-03-13T07:24:59+00:00
vout: android: add missing vlc_gl_sub_renderer_SetOutputSize()

Fixes EINVAL returned by vlc_gl_sub_renderer_Prepare()

Fixes regression from 2b6405c7f4a5b8bf97707fe735a9c9d1607dcbf3

- - - - -


1 changed file:

- modules/video_output/android/display.c


Changes:

=====================================
modules/video_output/android/display.c
=====================================
@@ -327,6 +327,9 @@ static int subpicture_OpenDisplay(vout_display_t *vd)
     if (sub->renderer == NULL)
         goto delete_interop;
 
+    vlc_gl_sub_renderer_SetOutputSize(sub->renderer, vd->cfg->display.width,
+                                      vd->cfg->display.height);
+
     vlc_gl_ReleaseCurrent(sub->gl);
 
     static const vlc_fourcc_t gl_subpicture_chromas[] = {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/68c41afa41d8d12ed08f0981d23abc1a7f26638b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/68c41afa41d8d12ed08f0981d23abc1a7f26638b
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list