[FFmpeg-devel] [PATCH] dump: show audio service type
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel