vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jul 30 15:35:10 2018 +0200| [8dc281d2d01e5dfefbe4087c5bc9bec3e5601906] | committer: Steve Lhomme
codec:jpeg: set the decoder output to sRGB That's how the decoder is configured in line 522 Ref #19127 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8dc281d2d01e5dfefbe4087c5bc9bec3e5601906 --- modules/codec/jpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c index e7001ec30e..7f258dfa59 100644 --- a/modules/codec/jpeg.c +++ b/modules/codec/jpeg.c @@ -178,6 +178,7 @@ static int OpenDecoder(vlc_object_t *p_this) p_dec->pf_decode = DecodeBlock; p_dec->fmt_out.i_codec = VLC_CODEC_RGB24; + p_dec->fmt_out.video.transfer = TRANSFER_FUNC_SRGB; return VLC_SUCCESS; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
