Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
af0b9612 by Alexandre Janniaux at 2022-01-15T11:59:35+00:00
mediacodec: fix video context initialization

avctx->texture is checked from the display to determine on whether the
pictures are available to the display or represent an OpenGL-compatible
video context.

Fix #26400

- - - - -


1 changed file:

- modules/codec/omxil/mediacodec.c


Changes:

=====================================
modules/codec/omxil/mediacodec.c
=====================================
@@ -708,6 +708,7 @@ CreateVideoContext(decoder_t *p_dec)
     avctx->render = PictureContextRenderPic;
     avctx->render_ts = p_sys->api.release_out_ts ? PictureContextRenderPicTs : 
NULL;
     avctx->get_texture = p_sys->video.surfacetexture ? 
PictureContextGetTexture : NULL;
+    avctx->texture = NULL;
 
     for (size_t i = 0; i < ARRAY_SIZE(p_sys->video.apic_ctxs); ++i)
     {



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

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


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to