Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-26 05:49:30 +0300
committerMatt Ebb <matt@mke3.net>2010-01-26 05:49:30 +0300
commite6a23762da3f6b88da21669b7ae30c834ace2f55 (patch)
tree1c55bb97fbebe2755d22a7ccc0a484d323ed785e /source/blender/imbuf/intern/anim5.c
parentba2257b57e56cc410288756de491969f4e207985 (diff)
Fix [#20821] COLOR MANAGEMENT: Corrupts motion picture files
Wasn't tagging movie formats with profiles properly.
Diffstat (limited to 'source/blender/imbuf/intern/anim5.c')
-rw-r--r--source/blender/imbuf/intern/anim5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/anim5.c b/source/blender/imbuf/intern/anim5.c
index 43a6b0d2c5d..7aaaee36e9a 100644
--- a/source/blender/imbuf/intern/anim5.c
+++ b/source/blender/imbuf/intern/anim5.c
@@ -532,6 +532,8 @@ struct ImBuf * anim5_fetchibuf(struct anim * anim) {
ibuf = IMB_dupImBuf(anim->ibuf1);
planes_to_rect(ibuf, anim->ib_flags);
+ ibuf->profile = IB_PROFILE_SRGB;
+
return(ibuf);
}