]> git.sesse.net Git - mlt/commit
Make the Movit converter use the correct color primaries.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 8 Jan 2014 00:38:35 +0000 (01:38 +0100)
committerDan Dennedy <dan@dennedy.org>
Sun, 12 Jan 2014 18:29:45 +0000 (10:29 -0800)
commit424496d4cbce82ca24cc85536bd9d3fdd6593067
tree7a0524e97d2d4c1e22ef99869966e3795aa1aa7e
parentde4ad61babeba0bf62d7d4138a83e5f284b07826
Make the Movit converter use the correct color primaries.

We need to distinguish between the YUV primaries and the color space;
for instance, my camera outputs Rec. 601/525 YUV but uses Rec. 709 color
primaries. Also fix so that we read the correct full_luma flag, not
just check force_full_luma. (Again, my camera outputs this.)

Movit doesn't support all the exotic color spaces ffmpeg/libav does,
but this should cover most of the common ones.
src/modules/avformat/producer_avformat.c
src/modules/opengl/filter_movit_convert.cpp