ffmpeg | branch: master | Kevin Wheatley <kevin.j.wheat...@gmail.com> | Tue Sep 1 12:35:55 2015 +0100| [a1fa5392e63e1f5658e5365ce02a29a74f95fdbb] | committer: Michael Niedermayer
avcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic when applying one > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1fa5392e63e1f5658e5365ce02a29a74f95fdbb --- libavcodec/exr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index d97cdc7..3b6b245 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1309,6 +1309,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, return AVERROR_INVALIDDATA; } + if (s->apply_trc_type != AVCOL_TRC_UNSPECIFIED) + avctx->color_trc = s->apply_trc_type; + switch (s->compression) { case EXR_RAW: case EXR_RLE: _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog