avformat/movenc: Add support for writing 'gama' atom to QuickTime .mov files.
authorKevin Wheatley <kevin.j.wheatley@gmail.com>
Thu, 5 Mar 2015 10:40:13 +0000 (10:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Mar 2015 11:26:37 +0000 (12:26 +0100)
commit45555a20c6f425b2999612f80d287253a24216bd
tree56d7b943508895f0cf2ca9ce205d3db89abb3aae
parent86b59e6a50c8498efd2ccbd541ac46dac16e958c
avformat/movenc: Add support for writing 'gama' atom to QuickTime .mov files.

As this is depricated it should not be on by default, it is only
supported for MOV containers, depends on avpriv_get_gamma_from_trc()

Enable by:

-movflags +write_gama

This will use the color_trc to supply a gamma value, if desired an
explicit value may be supplied using the -mov_gamma option supplying
a suitable floating point value, values <=1e-6 will not be written.

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/movenc.c
libavformat/movenc.h