[vlc-devel] [PATCH] opengl: interop: remove i_chroma assignation

Romain Vimont rom1v at videolabs.io
Thu Sep 10 13:03:49 CEST 2020


LGTM

On 2020-09-10 12:54, Alexandre Janniaux wrote:
> It should already be done by opengl_interop_init in case of success.
> ---
>   modules/video_output/opengl/interop_sw.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/modules/video_output/opengl/interop_sw.c b/modules/video_output/opengl/interop_sw.c
> index 486b2b3f1d..9c36e09fcc 100644
> --- a/modules/video_output/opengl/interop_sw.c
> +++ b/modules/video_output/opengl/interop_sw.c
> @@ -330,8 +330,6 @@ opengl_interop_generic_init(struct vlc_gl_interop *interop, bool allow_dr)
>           ret = opengl_interop_init(interop, GL_TEXTURE_2D, *list, space);
>           if (ret == VLC_SUCCESS)
>           {
> -            interop->fmt_out.i_chroma = *list;
> -
>               if (interop->fmt_out.i_chroma == VLC_CODEC_RGB32)
>               {
>   #if defined(WORDS_BIGENDIAN)
> --
> 2.28.0
> _______________________________________________
> 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