[vlc-devel] [PATCH 05/15] opengl: check source chroma rather than duplicated output format
Thomas Guillem
thomas at gllm.fr
Thu Sep 3 10:09:09 CEST 2020
OK
On Thu, Sep 3, 2020, at 07:52, Steve Lhomme wrote:
> At this stage fmt is not even filled yet.
> ---
> modules/video_output/opengl/display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/video_output/opengl/display.c
> b/modules/video_output/opengl/display.c
> index da7351a4428..464be2cebf2 100644
> --- a/modules/video_output/opengl/display.c
> +++ b/modules/video_output/opengl/display.c
> @@ -102,7 +102,7 @@ static int Open(vout_display_t *vd, const
> vout_display_cfg_t *cfg,
> #ifndef USE_OPENGL_ES2
> if (surface->type == VOUT_WINDOW_TYPE_XID)
> {
> - switch (fmt->i_chroma)
> + switch (vd->source->i_chroma)
> {
> case VLC_CODEC_VDPAU_VIDEO_444:
> case VLC_CODEC_VDPAU_VIDEO_422:
> --
> 2.26.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list