On 6 November 2017 at 18:03, Nicolas George <[email protected]> wrote:

> Le sextidi 16 brumaire, an CCXXVI, Rostislav Pehlivanov a écrit :
> > Signed-off-by: Rostislav Pehlivanov <[email protected]>
> > ---
> >  doc/APIchanges      | 3 +++
> >  libavutil/frame.h   | 6 ++++++
> >  libavutil/version.h | 2 +-
> >  3 files changed, 10 insertions(+), 1 deletion(-)
>
> Sorry if it has come up before, but why not just add
>
>         AVRational gamma;
>
> with 0/0 meaning unspecified? It seems like a relevant information, at
> least as much as AVColor*. And overall much simpler.
>
> Regards,
>
> --
>   Nicolas George
>

Gamma info is related to mastering info so API users expect to get both
using the same API rather than look for new fields in avframe and evaluate
whether they're different on a per-frame basis.
Also, it prevents from adding more fields to avframe and making a bigger
mess.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to