L'octidi 18 ventôse, an CCXXIII, Clement Boesch a écrit :
> Factorize it with ashowinfo instead of copying the code.
> 
> You can add a public helper returning the string.

I strongly support the second option. All enums like that should have a
corresponding string <-> enum utility.

Actually, we may want to make this kind of string <-> enum mapping more
standard, so they can be used in options parsing, but that is more work, so
not necessary immediately.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to