diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-05-05 08:19:30 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-05-05 08:19:30 +0300 |
commit | 9576612d45dc062c85ec66250e2c9824ea4026a5 (patch) | |
tree | a5b80ac3f06ea0c52e87ccf7af4d85b59bbc8492 /source/blender/sequencer/SEQ_add.h | |
parent | 96abe5ebbc55323fc28ee4f6a852c912298c72d1 (diff) |
VSE: Set view transform based on strip colorspace
In some cases, users start video editing work from General template,
where Filmic view transform is chosen by default. Currently, this causes
issue when working with sRGB footage, which are not properly decoded
into linear working space and final render looks miscolored.
When adding first strip, check it's colorspace and if it corresponds to
colorspace for byte images, ensure that view transform is set to
default value, which is Standard.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D11151
Diffstat (limited to 'source/blender/sequencer/SEQ_add.h')
-rw-r--r-- | source/blender/sequencer/SEQ_add.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/sequencer/SEQ_add.h b/source/blender/sequencer/SEQ_add.h index 9cb52145c04..2941eb6f4c0 100644 --- a/source/blender/sequencer/SEQ_add.h +++ b/source/blender/sequencer/SEQ_add.h @@ -36,6 +36,7 @@ typedef enum eSeqLoadFlags { SEQ_LOAD_SOUND_CACHE = (1 << 1), SEQ_LOAD_SOUND_MONO = (1 << 2), SEQ_LOAD_MOVIE_SYNC_FPS = (1 << 3), + SEQ_LOAD_SET_VIEW_TRANSFORM = (1 << 4), } eSeqLoadFlags; /* Api for adding new sequence strips. */ |