[FFmpeg-devel] [PATCH] dump: show audio service type

Nicolas George george at nsup.org
Sun Mar 8 12:03:46 CET 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150308/cf5e9d94/attachment.asc>


More information about the ffmpeg-devel mailing list