Fix #143191: 10/12 bit videos import much too dark

Originally reported for ProRes codec, but it affects multiple
other codecs: any format which is read as >= 10bit had the issue.

A regression since 93be12fde0.

The cause of the issue is that movie clip and image data-blocks
did linearization on their side, which was quite hidden to find.
Now the color management is done on the movie reader level.

Additionally, added regression test to catch such issues early
on in the future.

Pull Request: https://projects.blender.org/blender/blender/pulls/143435
This commit is contained in:
Sergey Sharybin
2025-07-28 15:14:23 +02:00
committed by Sergey Sharybin
parent 3cd40bae9f
commit 38f867814f
5 changed files with 9 additions and 4 deletions

Binary file not shown.

BIN
tests/files/compositor/input/media/movie_10bit.mov (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.