Le primidi 11 frimaire, an CCXXV, Vittorio Giovara a écrit :
> Subject: Re: [libav-devel] [PATCH] lavu: Document the color properties
>  enumeration values origin

As I already said on ffmpeg-devel (the discussion is relevant here too),
I think making this part of the API a bad decision.

It makes the API slave to changes in these standards and will cause no
end of problems if these standards add gaps (which is exactly what is
currently happening) or if the API wants to support values coming from
different standards.

I think a better design decision would be to use it as a real C enum,
with automatic consecutive values, and use tables whenever the values
for 23001-8_2013 are needed.

The fact that the values currently align with 23001-8_2013 is of course
not a problem, but keeping them that way is problematic.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to