[vlc-devel] [PATCH] decoder: fix the fmt_out i_chroma

Thomas Guillem thomas at gllm.fr
Tue Jul 9 08:40:40 CEST 2019


LGTM

On Tue, Jul 9, 2019, at 08:38, Steve Lhomme wrote:
> Otherwise no decoding picture can be allocated with a 0 chroma.
> ---
>  src/input/decoder.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/input/decoder.c b/src/input/decoder.c
> index 5bc702b7aa..c07e0d1684 100644
> --- a/src/input/decoder.c
> +++ b/src/input/decoder.c
> @@ -1177,7 +1177,7 @@ static void DecoderQueueVideo( decoder_t *p_dec, 
> picture_t *p_pic )
>  
>  static int thumbnailer_update_format( decoder_t *p_dec )
>  {
> -    VLC_UNUSED(p_dec);
> +    p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
>      return 0;
>  }
>  
> -- 
> 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