From 3ab8b01533c7311b50878eb9f85dcff72c0003ee Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Wed, 14 Nov 2018 11:02:36 +0100 Subject: [PATCH] codec: jpeg: set bitmask --- modules/codec/jpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c index c0af8ad1da..e72382cd9a 100644 --- a/modules/codec/jpeg.c +++ b/modules/codec/jpeg.c @@ -177,9 +177,11 @@ static int OpenDecoder(vlc_object_t *p_this) /* Set callbacks */ p_dec->pf_decode = DecodeBlock; + p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec = VLC_CODEC_RGB24; p_dec->fmt_out.video.transfer = TRANSFER_FUNC_SRGB; p_dec->fmt_out.video.b_color_range_full = true; + video_format_FixRgb(&p_dec->fmt_out.video); return VLC_SUCCESS; } -- 2.11.4.GIT