vlc | branch: master | Steve Lhomme <[email protected]> | Wed Aug  1 11:43:11 
2018 +0200| [7a64f68ac92617c40d62adbe7bae6749c89f48b5] | committer: Steve Lhomme

codec:jpeg: PNG are always decoded to full range

Ref #19127

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a64f68ac92617c40d62adbe7bae6749c89f48b5
---

 modules/codec/jpeg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c
index 7f258dfa59..c0af8ad1da 100644
--- a/modules/codec/jpeg.c
+++ b/modules/codec/jpeg.c
@@ -179,6 +179,7 @@ static int OpenDecoder(vlc_object_t *p_this)
 
     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;
 
     return VLC_SUCCESS;
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to