[vlc-devel] [PATCH 01/18] decoder: do the output chroma fixup in decoder_UpdateVideoOutput()

Thomas Guillem thomas at gllm.fr
Mon Oct 28 15:30:03 CET 2019


OK for the set.

On Mon, Oct 28, 2019, at 13:41, Steve Lhomme wrote:
> All decoder owners do this fixup.
> ---
>  src/input/decoder_helpers.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/input/decoder_helpers.c b/src/input/decoder_helpers.c
> index f3784e6dfbb..ce32608c92c 100644
> --- a/src/input/decoder_helpers.c
> +++ b/src/input/decoder_helpers.c
> @@ -88,6 +88,9 @@ int decoder_UpdateVideoOutput( decoder_t *dec, 
> vlc_video_context *vctx_out )
>                    dec->cbs->video.format_update == NULL) )
>          return -1;
>  
> +    /* */
> +    dec->fmt_out.video.i_chroma = dec->fmt_out.i_codec;
> +
>      return dec->cbs->video.format_update( dec, vctx_out );
>  }
>  
> -- 
> 2.17.1
> 
> _______________________________________________
> 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